Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working on an ASP
Message
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Divers
Thread ID:
00290441
Message ID:
00290516
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform