SyntaxFix
Write A Post
Hire A Developer
Questions
var str = "This is my string" print(str.replacingOccurrences(of: " ", with: "+"))
Output is
This+is+my+string