DADiSP Worksheet Functions > Function Categories > String Manipulation > STRTRIM
Skips the leading whitespace of a string.
STRCAT("str")
"str" |
- |
A string, the input string to process. |
A string where the leading whitespace has been eliminated.
strtrim(" aaa bbb")
results in the string: "aaa bbb".
str1 = " " + strescape("\t") + "text";
str2 = strtrim(str1)
str2 == "text"
STRTRIM removes leading whitespace from a string, including spaces, strchar(32), tabs, strchar(9) and newlines strescape("\n").