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
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 mails | Author | Date |
|---|---|---|
| Neto | Jun 20, 07:44 | |
| Ben Lachman | Jun 20, 08:11 | |
| Andreas Mayer | Jun 20, 14:38 | |
| Sean Murphy | Jun 20, 17:13 | |
| Andreas Mayer | Jun 20, 17:44 | |
| Douglas Davidson | Jun 20, 17:48 | |
| Sean Murphy | Jun 20, 19:44 | |
| Neto | Jun 21, 05:59 |






Cocoa mail archive

