I need to use the string #ClientName# to generate subdirectories. In order to avoid a variety of potential problems, I wish to strip the string of all non-alphanumeric characters. Is there a relatively simple function for this, or should I loop through the string one character at a time? Also, how do I simply delete a character rather than replacing it? Finally, if I use Replace (or ReplaceList), how can I account for all possible non-alphanumeric characters?
Thanks in advance.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.