On Nov 15, 2008, at 5:41 PM, Steven Riggs wrote:
Something like [string stringByReplacingOccurrencesOfString:@\n
withString:@ ] should do the trick
Yes, or the mutable equivalent, provided that your line terminators
are specified to be precisely '\n'. If you wish to deal with line
Is there an NSString function that would remove all of the '\n' chars from an
NSString?
I'm trying to concatenate all of the lines in a string into one gigantic line
(about 5 unicode chars).
Jordon
___
Cocoa-dev mailing list
Something like [string stringByReplacingOccurrencesOfString:@\n
withString:@ ] should do the trick
Adios!
Steven Riggs
On Nov 14, 2008, at 6:18 PM, Jordon Hirshon wrote:
Is there an NSString function that would remove all of the '\n'
chars from an NSString?
I'm trying to concatenate