Please enable JavaScript to view this site.

ESL Documentation

ESLSTR Subroutine

Reverse the order of characters in a string.

call ReverseString(STRING_SV)

STRING_SV

The string whose characters you want reversed.

Description

Use this subroutine to reverse the characters in STRING_SV . Note that the use of a single parameter allows in-place reversion.

Example

include "eslstr.inc"

subroutine GetFileExtension(string: FileName_SV, string: Extension_SV) is

 extract from ReverseStringFunction(FileName_SV)

         take to "." Extension_SV

 

 call ReverseString(Extension_SV)

 

See Also

ReverseStringFunction( ) Function