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

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -