[thelist] ASP checking if there's a space

Marc Seyon seyon at delime.com
Thu Feb 14 14:05:00 CST 2002

Message from Christine Breen (2/14/2002 01:10 PM)

>If the data (for example 'useful links') in the database contains spaces,
>how can ASP check for spaces in the data (useful links) and replace the
>spaces with a % (useful%links)?  The information is being stored in the
>variable and used for an URL.  Using MS Access right now.

Replace function
str = "useful links"
newstr = Replace(str," ","%")

shouldn't this be %20 though?


More information about the thelist mailing list