LTrim
LTrim( value )
LTrim( value )
LTrim( value )
LTrim( value )
ltrim( value )
LTrim( value )
Description
The LTrim
function removes all white spaces, tabs, and newlines from
the beginning of the provided string.
Returns
A String which has all of the leading white spaces, tabs, and newlines removed.
Examples
The following query executes an array of independent LTrim
operations and returns the results in an array. The result array
position matches the execution array position. The individual operations
are:
-
The string " Fire" is processed, resulting in "Fire" which becomes the first item in the result array.
-
The string "\t\n Fire" is processed, resulting in "Fire", which becomes the second item in the result array.
Arr(StringV(Fire), StringV(Fire))
[Fire Fire]
["Fire", "Fire"]
[ 'Fire', 'Fire' ]
['Fire', 'Fire']
[ 'Fire', 'Fire' ]
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!