Re: scannerWithString
Re: scannerWithString
- Subject: Re: scannerWithString
- From: Ondra Cada <email@hidden>
- Date: Fri, 24 May 2002 20:57:22 +0200
On Friday, May 24, 2002, at 08:39 , Andreas Mayer wrote:
// Divvy the file contents (lines) into an array of NSstrings
using \n as separator
typeLines = [ typeContents componentsSeparatedByString:@"\n" ]
;
This will not work, if the lines are seperated by some other character(s)
than LF.
If they were, unix would not accept such config files anyway. Regardless
what Unicode, Mac OS Classic, and Windows think, the line separator is
still LF.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.