Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Replacing Spaces with Underscores

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Replacing Spaces with Underscores
  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 >>
 Replacing Spaces with Underscores - 4/12/2005 9:13:35 PM   
  Dombas

 

Posts: 4
Score: 0
Joined: 3/10/2005
From: United Kingdom
Status: offline
Hi!

I have a list of categories in an Access Database Table. Now I would like to replace the space inside the field with underscores and then add ".asp" to the end of the name. I originally used a 'replace' function inside my Access query but unfortunately it doesn't work in ASP. Any help would be appreciated.

Dombas
 
 
Post #: 1
 
 Re: Replacing Spaces with Underscores - 4/12/2005 9:57:51 PM   
  VBS

 

Posts: 110
Score: 0
Joined: 3/2/2005
From: Lebanon
Status: offline
Dear Dombas,
The replace works in the ASP, use the example below:, or if you wanna to use other than Replace use the next example below:


      


Hope this Helps


Best Regards

Firas S Assaad

(in reply to Dombas)
 
 
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 >> Replacing Spaces with Underscores 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