Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


problem using remove()

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> problem using remove()
  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 >>
 problem using remove() - 12/7/2004 4:02:26 AM   
  westlondonsun

 

Posts: 1
Score: 0
Joined: 12/7/2004
From:
Status: offline
am using the remove function to remove unwanted commas that are part of feedback from a form. having problems using this

replace(strq11,","," ")

what im trying to do is replace any instances of a comma in the form input by users by replacing it with a blank space. this is so when i write it to my CSV file it doesnt add the text after the , into a new row

cheers for your help its much appreciated
 
 
Post #: 1
 
 Re: problem using remove() - 3/3/2005 12:53:30 AM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear westlondonsun,
use this code

replace(strq11,chr(44)," ")

or

replace(strq11,chr(44),"$nbsp;")

Best Regards
Firas S Assaad

(in reply to westlondonsun)
 
 
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 >> problem using remove() 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