Please enable JavaScript to view this site.

ESL Documentation

ESLSTR Function

Return the characters of a string in reverse order.

ReverseStringFunction(INPUT_STRING_SV)

INTPUT_STRING_SV

The identifier for the input string.

Description

Use this function to reverse the order of character within a string. If there is an error; either a NULL string is returned or the string will contain "-1\n".

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

ReverseString( ) Subroutine