Reverse

Description:
Reverse the characters in the Source string.

Format:
Reverse (string Source)

Parameters:

Stringr

Source

Source string from which to reverse the characters.

Return Value:

String

Result

String consisting of the reversed characters.

Usage:
Use this function to reverse the order of characters in a string.

Example 1:
Find the last phrase in a comma delimited list. Reverse the string to find the position and then Reverse the results back to normal.

String strPhrase
String strResult

strPhrase = 'Super Widgets, Long Widgets, Soft Widgets'
strResult = Reverse(Left(Reverse(strPhrase), Pos(Reverse(strPhrase), ',') - 1))

Hosted by www.Geocities.ws

1