- Edited
For some reason, I can't seem to remove spaces from a string.
I've tried the following:
var place: String = "placeholder place2"
place.replace(" ", "")
place.dedent()
place.format({" ": ""})
And none of these worked. They all still had the space. How can I remove it?