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

Description

LTRIM returns the string with leading whitespace removed.

Supported input column types: STRING

Output column type: STRING

Whitespace is defined as being the whitespace characters in version 12.1.0 of the Unicode Standard.

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

Syntax

LTRIM ( table.column ) 

Example


[1] Remove leading whitespace from strings.

Query
Column1
LTRIM ( "Table1"."Column1" )
Input
Table1
Column1 : STRING
'Example without leading whitespace'
' Example with leading whitespace'
' PQL'
'a '
' '
''
null
' '
Output
Result
Column1 : STRING
'Example without leading whitespace'
'Example with leading whitespace'
'PQL'
'a '
''
''
null
''


  • No labels