I'm looking for a way to replace characters in a Swift String.
Example: "This is my string"
I'd like to replace with + to get: "This+is+my+string".
How can I achieve this?
转载于:https://stackoverflow.com/questions/24200888/any-way-to-replace-characters-on-swift-string