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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/steven.riggs%40me.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to