Howdy, Stranger!

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

Categories

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
www.this.com/thing&addy= 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 http://www.this.com/thin&addy=new+york
thanks in advance
executive idio
Sign In or Register to comment.