Hi Jaime,
>I'm trying to move a FP DOS app. to VFP. Is there an easy way to replace a whole string with say the same string but with all characters shifted by 20 in the Ascii table? I know i can build an array from the original string, do the ASCII transform. and then replace it, but is there an easier ( and faster ) way to do it?
You could use CHRTRAN(). The second parameter would contain all ASCII codes from 0 to 255, the third parameter all ASCII codes from 20 to 255 and then from 0 to 19.
Christof
--
Christof