Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The other way around
Message
De
27/06/2000 14:11:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00385262
Message ID:
00385266
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform