Skip to main content

PQL46 (PQL Function Library - CPM 4.6)

REVERSE

Applies to: CELONIS 4.0 CELONIS 4.2 CELONIS 4.3 CELONIS 4.4 CELONIS 4.5 CELONIS 4.6

Description

REVERSE returns the reversed string.

Supported input column types: STRING

Output column type: STRING

NULL-values: If the value is NULL, the result is NULL

Syntax
REVERSE ( table.column ) 
Example

[1] Reverse Strings.

Query

Column1

REVERSE ( "Table1"."Column1" )

Input

Output

Table1

Column1 : STRING

'Text'

'Example'

'aba'

'a '

''

''

null

''

Result

Column1 : STRING

'txeT'

'elpmaxE'

'aba'

' a'

''

''

null

''