I have a string and I want to replace every space in this string with a +. I tired this by using:

tw.Text = strings.Replace(tw.Text, " ", "+", 1)

But that didn't work for me. Any solutions?

For example, the string could look like:

The answer of the universe is 42
Edit
Report