Skip to main content
added 4 characters in body
Source Link
Dharman
  • 33.9k
  • 27
  • 106
  • 157

you can test this:

let newString = test.stringByReplacingOccurrencesOfString(" ", withString: "+", options: nil, range: nil)

let newString = test.stringByReplacingOccurrencesOfString(" ", withString: "+", options: nil, range: nil) 

you can test this:

let newString = test.stringByReplacingOccurrencesOfString(" ", withString: "+", options: nil, range: nil)

you can test this:

let newString = test.stringByReplacingOccurrencesOfString(" ", withString: "+", options: nil, range: nil) 
Source Link

you can test this:

let newString = test.stringByReplacingOccurrencesOfString(" ", withString: "+", options: nil, range: nil)