mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
26 lines
650 B
Plaintext
26 lines
650 B
Plaintext
|
{
|
||
|
"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"]
|
||
|
}
|