Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invert String
Message
De
15/09/2008 16:45:10
 
 
À
15/09/2008 16:33:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01347755
Message ID:
01347757
Vues:
11
This message has been marked as the solution to the initial question of the thread.
FUNCTION RevertIt (tcString AS String)
	LOCAL I AS Integer, lcReversed AS String
	lcReversed = ""
	
	FOR I = LEN (m.tcString) TO 1 STEP -1
		lcReversed = m.lcReversed + SUBSTR (m.tcString, m.I, 1)
	ENDFOR
	
	RETURN m.lcReversed
ENDFUNC
>Anybody have ready function that does this ?
>
>If string reads 'FOXPRO' to return 'ORPXOF'
>
>(Not lazy just dead tired)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform