> Or if you just want to convert the spaces: string = [@"Ich möchte am > Wettbewerb teilnehmen" stringByReplacingOccurrencesOfString:@" " > withString:@"%20”];
Please avoid using that, if you really need **only** white space to be replaced, you want to use [@"Ich möchte am Wettbewerb teilnehmen" stringByReplacingCharactersInSet:[NSCharacterSet whitespaceCharacterSet] withString:@"%20”] instead, as there are different UTF-8 characters for different kinds of whitespace. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com