stringByTrimmingCharactersInSet
stringByTrimmingCharactersInSet
- Subject: stringByTrimmingCharactersInSet
- From: Simon Raisin <email@hidden>
- Date: Wed, 6 May 2009 18:16:04 -0700
NSString *s = [@"1,660.0" stringByTrimmingCharactersInSet:[NSCharacterSet
characterSetWithCharactersInString:@","]];
For some reason s is always "1,660.0".
Shouldn't the comma be removed?
Thanks,
CxT
_______________________________________________
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