>Are you saying that the subset of invalid characters is limited too? I thought it's unlimited, since we can have chars in different languages...
>
>Anyway, if you want to check, if your string has invalid chars, all you have to do is:
>
>If not empty(lcString,lcAllowedChars,"")
> ** You have invalid chars in the string
>endif
I agree, but his original post was referring specifically to A-Z,1-0, so I threw-out the option of foreign language characters.