Dim x As String
x = txtURL.Text
x.Replace(" ", "+")
txtURL.Text = x
Why does this not replace the spaces with a +
I have tried
txtURL.Text.replace (" ". "+")
that does not work either
Printable View
Dim x As String
x = txtURL.Text
x.Replace(" ", "+")
txtURL.Text = x
Why does this not replace the spaces with a +
I have tried
txtURL.Text.replace (" ". "+")
that does not work either
Try this:Quote:
Originally posted by Stick
Dim x As String
x = txtURL.Text
x.Replace(" ", "+")
txtURL.Text = x
Why does this not replace the spaces with a +
I have tried
txtURL.Text.replace (" ". "+")
that does not work either
txtURL.Text = Replace(TxtURL.Text," ","+")