Re: Detecting new line character(s) in text file?
Re: Detecting new line character(s) in text file?
- Subject: Re: Detecting new line character(s) in text file?
- From: Jean-Nicolas Jolivet <email@hidden>
- Date: Sat, 17 Nov 2007 18:35:04 -0500
Thank you! I am looking into it! Seems like it will do the trick..!
Shawn Erickson wrote:
On Nov 17, 2007, at 3:29 PM, Jean-Nicolas Jolivet wrote:
I am parsing subtitles file...(text subtitles for divx movies etc..)
Depending on the format they need to be parsed differently, but in
any cases, I need to find out what linebreak character is used so I
can parse them...
Why do you need to care about the line ending? You just want the lines?
Still sounds like -[NSString getLineStart:end:contentsEnd:forRange:]
will do what you need without you having to care about which line
ending is being used.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden