Table of Contents

Search

  1. Preface
  2. Function reference
  3. Constants
  4. Operators
  5. Dates
  6. Functions
  7. System variables
  8. Datatype reference

Function Reference

Function Reference

REVERSE

REVERSE

Reverses the input string.

Syntax

REVERSE(
string
)
Argument
Required/
Optional
Description
string
Required
Any character value. Value you want to reverse.

Return Value

String. Reverse of the input value.

Example

The following expression reverses the numbers of the customer code:
REVERSE( CUSTOMER_CODE )
CUSTOMER_CODE
RETURN VALUE
0001
1000
0002
2000
0003
3000
0004
4000

0 COMMENTS

We’d like to hear from you!