spaces to +'s and put into url

i have a textbox set to input stuff from the user and store it in variable addy. how can i change all of the spaces in addy into + signs?
also, is it possible to then use that string in a url, such as then new string(w/ +'s not spaces) here
for example if i put "new york" in the text box, then when a button or text or something is pushed, it will load the webpage at url
thanks in advance
executive idio
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!