Skip navigation.
 
mlRe: Slice a .txt file in lines
FROM : Andreas Mayer
DATE : Tue Jun 20 17:44:35 2006

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

Related mailsAuthorDate
mlSlice a .txt file in lines Neto Jun 20, 07:44
mlRe: Slice a .txt file in lines Ben Lachman Jun 20, 08:11
mlRe: Slice a .txt file in lines Andreas Mayer Jun 20, 14:38
mlRe: Slice a .txt file in lines Sean Murphy Jun 20, 17:13
mlRe: Slice a .txt file in lines Andreas Mayer Jun 20, 17:44
mlRe: Slice a .txt file in lines Douglas Davidson Jun 20, 17:48
mlRe: Slice a .txt file in lines Sean Murphy Jun 20, 19:44
mlRe: Slice a .txt file in lines Neto Jun 21, 05:59