Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
650 B
Plaintext
Raw Normal View History

{
"name": "ltrim",
"type": "function",
"groups": ["String"],
"description": "Removes the longest string containing only the specified characters (a space by default) from the start of string.",
"arguments": [{
"arg": "string",
"description": "string to trim"
},
{
"arg": "characters",
"description": "characters to trim",
"optional": true,
"default": "' '"
}],
"examples": [{
"expression": "ltrim(' hello world ')",
"returns": "'hello world '"
},
{
"expression": "ltrim('zzzytest', 'xyz')",
"returns": "'test'"
}],
"tags": ["removes", "leading", "whitespace", "spaces", "tabs"]
}