OK, I see the difference.
>
>Isn't the EMPTY(LEN()) a bit redundant?
>
>Just EMPTY(CHRTRAN(myValue, allowedChars, "")) should be sufficient.
>>
>No.
>
>EMPTY() return .t. for:
>
>The empty string,
>spaces,
>tabs,
>carriage returns,
>linefeeds,
>or any combination of these.
>>
>then for allowedChars = '0123456789', spaces,tabs... are not allowed.
>
>Fabio