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": "rtrim",
|
|
"type": "function",
|
|
"groups": ["String"],
|
|
"description": "Removes the longest string containing only the specified characters (a space by default) from the end of string.",
|
|
"arguments": [{
|
|
"arg": "string",
|
|
"description": "string to trim"
|
|
},
|
|
{
|
|
"arg": "characters",
|
|
"description": "characters to trim",
|
|
"optional": true,
|
|
"default": "' '"
|
|
}],
|
|
"examples": [{
|
|
"expression": "rtrim(' hello world ')",
|
|
"returns": "' hello world'"
|
|
},
|
|
{
|
|
"expression": "rtrim('testxxzx', 'xyz')",
|
|
"returns": "'test'"
|
|
}],
|
|
"tags": ["removes", "whitespace", "spaces", "tabs", "trailing"]
|
|
}
|