Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working on an ASP
Message
General information
Forum:
Visual Basic
Category:
VBScript
Miscellaneous
Thread ID:
00290441
Message ID:
00290516
Views:
15
You could use the Replace() function in VBScript to do this. Something like:

strStipped = Replace(Replace(strOriginal," ", ""),".","")

HTH

>How can I grab a form value, that might look like "John A. Doe" and make it into "JohnADoe", in other words, strip the period and spaces.
>
>I think this belong in VBScript category, thats what code in an ASP is, right? VBScript?
"It is an important and popular fact that things are not always what they seem. For instance, on the planet Earth, man had always assumed that he was more intelligent than dolphins because he had achieved so much -- the wheel, New York, wars and so on -- whilst all the dolphins had ever done was muck about in the water having a good time. But conversely, the dolphins had always believed that they were far more intelligent than man -- for precisely the same reasons." - Douglas Adams
Previous
Reply
Map
View

Click here to load this message in the networking platform