Hi Naomi,
using VFP9
FOR NOT EMPTY(trim(dc_crdno, chr(9), chr(10), chr(13), chr(32), chr(160)))
>Hi everybody,
>
>I have this simple code
>
>
>replace dc_crdno WITH REPLICATE("*",12) + RIGHT(ALLTRIM(dc_crdno),4) FOR NOT EMPTY(dc_crdno)
>
>The problem is that I see just 12 * for some rows, so I assume that there may be some unprintable characters in that column. How can I make sure to either show 12* + 4 last digits or show empty value?
>
>Thanks in advance.
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)