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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript '+' sign!

Status
Not open for further replies.

Stew312

Programmer
Jul 14, 2004
2
US
Hey guys, I'm working on a project where admin users can update database information, and from one page to the next the primary key and its value are passed in the QueryString. Problem is that a few of the database entries have characters like the '+' as the primary key, and when '+' is passed in the QueryString I can't seem to pull it onto the new page. Of course escape and unescape don't work for '+','/', etc.. So is there anyway of getting around creating my own encription for these few characters on my page?? Thanks.

- Chris
 
The HTML code for the plus sign is +, and the hex code is %2b. With the latter, you might be able to unescape the string to convert that back, or you could write your own version of unescape to handle the plus sign.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top