Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The other way around
Message
From
27/06/2000 14:11:06
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00385262
Message ID:
00385266
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform