Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Dates
  6. Functions
  7. Creating Custom Functions
  8. Custom Function API Reference
  9. POWERCENTERHELP

Transformation Language Reference

Transformation Language Reference

REVERSE

REVERSE

Reverses the input string.

Syntax

REVERSE(
string
)
The following table describes the argument for this command:
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