Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


VBscript '+' sign!

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1993
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> VBscript '+' sign!
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 VBscript '+' sign! - 2/7/2005 8:28:43 AM   
  Stew312

 

Posts: 3
Score: 0
Joined: 2/7/2005
From:
Status: offline
Hey guys.. I'm doing an online database presentation application, and it so happens that one of the primary keys is a '+' sign. I am sending this through the querystring, and the following page cannot pull the '+' sign out of the string and it seems there are no special characters for this. Any suggestions other than creating my own special character for this individual case?[}:)] Thanks

- Chris
 
 
Post #: 1
 
 Re: VBscript '+' sign! - 3/2/2005 9:47:56 PM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear Stew312,
I don't if what i am gonna tell u is the same as creating ur own char...But i will tell u

Please follow these steps:

1. Lets pretend that the Var that contains the + sign is strVar1
2. declare the var strVar2
3. types this code (strVar2 = replace(strVar1,"+","OTOT")
4. then when u recive the text (Page2.asp)
5. declare strPage1, strPage2
6. type this code (
strPage1=request.querystring("strVar2")
strPage2=replace(strPage1,"OTOT","+")
response.write strPage2
)

Don't forget to post ur result

Best Regards
Firas S Assaad

(in reply to Stew312)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> VBscript '+' sign! Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts