Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invert String
Message
From
15/09/2008 16:45:10
 
 
To
15/09/2008 16:33:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01347755
Message ID:
01347757
Views:
10
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform