On Jul 1, 2010, at 4:02 AM, Ariel Feinerman wrote:
> I wish to get the strings from file, exclude some strings and empty strings
> and write them to file, so do you sure these methods are for that?
Yup, they should work for that. They will help you iterate over the lines in
the contents, regard
I wish to get the strings from file, exclude some strings and empty strings
and write them to file, so do you sure these methods are for that? Can you
explain what you suggest by given an example?
I take care of backward compatibility with 10.5 therefore 10.6 blocks is out
.
Thank you.
2010/7/1
On Jun 30, 2010, at 3:02 PM, Ariel Feinerman wrote:
> If we read whole file as a NSString, will be any conversions between \r\n,
> \r, \n? Then if not, will be -componentsSeparatedByCharactersInSet:
> [NSCharacterSet newlineCharacterSet] create empty strings in Win \r\n case?
> So what is the bes
Hi,
If we read whole file as a NSString, will be any conversions between \r\n,
\r, \n? Then if not, will be -componentsSeparatedByCharactersInSet:
[NSCharacterSet newlineCharacterSet] create empty strings in Win \r\n case?
So what is the best: [NSCharacterSet newlineCharacterSet] or [NSCharacterSe