Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables with spaces ..?

Status
Not open for further replies.

kenjoswe

Technical User
Sep 19, 2000
327
SE
Hi all,

I have a simple request: Search=Request.Form("Search").

If I have a variable, lets say, "Much More" then the "Search" variable only contains "Much".

If it is a space in between, the variable only takes what is to the left in the Request.Form("Search")

How can I solve this?

/Kent J.

 
Variables cannot have spaces in them. You need to place something like an "_" instead of the spaces.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top