On 6 maj 2009, at 18.16, Simon Raisin wrote:
NSString *s = [@"1,660.0" stringByTrimmingCharactersInSet:
[NSCharacterSet
characterSetWithCharactersInString:@","]];
For some reason s is always "1,660.0".
Shouldn't the comma be removed?
No, check the documentation... :-)
"Returns a new string made by removing from both ends of the
receiver characters contained in a given character set."
j o a r
_______________________________________________
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 arch...@mail-archive.com