trimStart
-
function
-
new in 1.54
-
The
trimStart
function trims leading whitespace (or other characters) from a text value. Each of these functions takes one or two parameters. The first parameter is the source text value to be trimmed. The second (optional) parameter is a text string defining the set of characters that will be removed from the source text. If the second parameter is not given, whitespace and newline characters will be trimmed by default. -
Examples: +
put trimStart(" my words ") —> "my words "
-
Related: trimAll, trimEnd, trim