Re: Slice a .txt file in lines
Re: Slice a .txt file in lines
- Subject: Re: Slice a .txt file in lines
- From: Andreas Mayer <email@hidden>
- Date: Tue, 20 Jun 2006 17:44:35 +0200
Am 20.06.2006 um 17:13 Uhr schrieb Sean Murphy:
// Finds the line ending ending character:
NSString *lineEndCharacter = [textFileAsString
substringWithRange:NSMakeRange(startOfLineTerminatorIndex,
endOfLineIndex-startOfLineTerminatorIndex)];
This assumes that there is only one type of line ending character in
a single file.
I'm not sure this assumption is necessarily true.
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden