Re: Remove '\n' char from NSString
Re: Remove '\n' char from NSString
- Subject: Re: Remove '\n' char from NSString
- From: Steven Riggs <email@hidden>
- Date: Sat, 15 Nov 2008 20:41:28 -0500
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 all of the lines in a string into one
gigantic line
(about 50000 unicode chars).
Jordon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden