>Hi Paul,
>
>>Not that it would really matter here, but chrtran() is faster than strtran().
>
>Thanks! I've never seen chrtran, is it any different from strtran?
Yeah, CHRTRAN() is cool.
You can use it for lots of one line string functions like
* Clean the dashes, slashes and parens out of a phone number
lcPHoneNumber = "(512)/255-1234"
lcPhoneNumber = CHRTRAN(lcPhoneNumber, "()/-","")
?lcPhoneNumber = 5122551234
or
* Determine if a string of characters contains any numeric characters
?lcNumber = STRTRAN(lcNumber,"1234567890","")
Erik Moore
Clientelligence