Skip to content
mtbeek32 edited this page Feb 19, 2024 · 7 revisions

String functions ltrim

syntax

  • ltrim(string_dataitem)

definition

ltrim(string_dataitem) removes space characters before the first non space character in string_dataitem.

applies to

data item string_dataitem with string value type

example

attribute<string> ltrimA (ADomain) := ltrim(A);
A ltrimA
'Test' 'Test'
'88hallo99' '88hallo99'
'+)' '+)'
'twee woorden' 'twee woorden'
' test met spatie' 'test met spatie'

ADomain, nr of rows = 5

see also

Clone this wiki locally