Or you can add space to lcDigits and rename it to lcIgnoreChars. :)
>This seems to work the best (for most scenarios) if I alltrim(lcRest). Thanks Sergey!
>
>
>>>lcmyString = "123456789 Boldorn"
>>>
>>>I want to return position 11 because it is the first non numeric position (B). just can't think of it today...
>>
>>
>>lcDigits = "0123456789"
>>lcmyString = "123456789 Boldorn"
>>lcRest = CHRTRAN(lcmyString , lcDigits, "")
>>? AT("-", CHRTRAN(lcmyString, lcRest, REPLICATE("-", LEN(lcRest))))
>>
--sb--