mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix mixup between lpad/rpad help (fixes #13433)
This commit is contained in:
parent
56b5d4e723
commit
b46cbbe425
@ -1,12 +1,11 @@
|
||||
{
|
||||
"name": "lpad",
|
||||
"name": "rpad",
|
||||
"type": "function",
|
||||
"description": "Returns a string padded to supplied width using a fill character.",
|
||||
"arguments": [
|
||||
{"arg":"string","description":"string to pad"},
|
||||
{"arg":"width","description":"length of new string"},
|
||||
{"arg":"fill","description":"character to pad the remaining space with"}
|
||||
"arguments": [ {"arg":"string","description":"string to pad"},
|
||||
{"arg":"width","description":"length of new string"},
|
||||
{"arg":"fill","description":"character to pad the remaining space with"}
|
||||
],
|
||||
"examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"}
|
||||
"examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"}
|
||||
]
|
||||
}
|
||||
|
@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "rpad",
|
||||
"name": "lpad",
|
||||
"type": "function",
|
||||
"description": "Returns a string padded to supplied width using a fill character.",
|
||||
"arguments": [ {"arg":"string","description":"string to pad"},
|
||||
{"arg":"width","description":"length of new string"},
|
||||
{"arg":"fill","description":"character to pad the remaining space with"}
|
||||
"arguments": [
|
||||
{"arg":"string","description":"string to pad"},
|
||||
{"arg":"width","description":"length of new string"},
|
||||
{"arg":"fill","description":"character to pad the remaining space with"}
|
||||
],
|
||||
"examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"}
|
||||
"examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user