%LeftTrim function


Old name
%LTrim
Function
The function removes trailing spaces or other characters from the beginning of the specified text string.
Declaration


TEXT %LeftTrim(
   TEXT in string
   TEXT in charToRemove := " "
)
Parameters


stringText string.
Example


%LeftTrim("  Text Some Text  ")      ; returns the value of "Text Some Text  "
%LeftTrim("..Text Some Text....")    ; returns the value of "Text Some Text...."