Hi Moises,
PROCEDURE ReverseIt
PARA cText
cReversed=""
FOR I = LEN(cText) TO 1 STEP -1
cReversed=cReversed+SUBS(cText,i,1)
ENDFOR
RETURN cReversed
ENDPROC
>How to turn the expression
>
> "ABCDEF"
>
>
> into the expression
>
> "FEDCBA"
>
>
> I mean, to do the other way around
>
>
> Thanks
>
> Moises
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05