Function Block STR_LTRIM

The function block STR_LTRIM removes whitespaces (or other characters) from the beginning of a string.

Input STR

The input defines the string to be processed.

Input CHARACTER MASK

The input defines the characters to be removed as a string. The value can be specified with backslashes ("\"). If no input is defined or the value is equal to NULL, then the following characters are removed:

  • " " (ASCII 32 (0x20)), a normal space.
  • "\t" (ASCII 9 (0x09)), a tab character.
  • "\n" (ASCII 10 (0x0A)), a line feed.
  • "\r" (ASCII 13 (0x0D)), a carriage return.
  • "\0" (ASCII 0 (0x00)), the NUL byte.
  • "\x0B" (ASCII 11 (0x0B)), a vertical tab.

Note: These must be enclosed in double quotation marks.

Output

Returns a string cleaned on the left side.

See Also