iphone - How do i replace spaces with +'s in Xcode -
I am creating an app in which a lot of URLs are called from a MySQL server.
What do I have to do for my app to take text file text and send it (which I already knew how to do) but I need to change the space with + (plus)
- (NSString *) StringByrepling accordions offstring: (NSString *) target withString: (NSString *) replacement;
str = [str stringByReplacingOccurrencesOfString: @ "" withString: @ "+"];
Comments
Post a Comment