AnonGod
IS-IT--Management
- Jun 5, 2000
- 223
Hello!
I let users update a text field in a database to have any characters they want. Later I pull the name they entered and look for an image matching the name they entered.
Now there are reserved characters that you cannot use in a filename, so I want to strip them out of the name when I go and look for it. But these are allowed in my database. The reserved list is (so windows explorer says):
\ / : * ? " < > |
Is there a built in asp/vbs function I can use to strip these out or am I looking at 9 replace functions?
Thanks!
-Andrew
[Signature modified by admin request]
-TAG
anongod@hotmail.com
'Drawing on my fine command of language, I said nothing.'
I let users update a text field in a database to have any characters they want. Later I pull the name they entered and look for an image matching the name they entered.
Now there are reserved characters that you cannot use in a filename, so I want to strip them out of the name when I go and look for it. But these are allowed in my database. The reserved list is (so windows explorer says):
\ / : * ? " < > |
Is there a built in asp/vbs function I can use to strip these out or am I looking at 9 replace functions?
Thanks!

[Signature modified by admin request]
-TAG
anongod@hotmail.com
'Drawing on my fine command of language, I said nothing.'