Cloud
ltrim
The ltrim() function removes the longest string containing only characters from a specified set from the start (left side) of a string. If you don’t specify a set of characters, ltrim() removes spaces.
Syntax
The syntax of the ltrim() function is:
LTRIM(string)
LTRIM(string, characters)
The ltrim() function accepts the following arguments:
-
string: The string to trim. -
characters: Optional. The set of characters to remove from the start ofstring. Defaults to a space character.
Examples
Was this helpful?