Skip to main content

Celonis Product Documentation

REVERSE
Description

REVERSE returns the reversed string.

Supported input column types: STRING

Output column type: STRING

Syntax
 REVERSE ( table.column ) 
NULL handling

If the value is NULL, the result is NULL as well.

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

' '