mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
fix lpad/rpad context help (followup b46cbbe)
This commit is contained in:
parent
0a51b13ba9
commit
3c324c9985
@ -1,11 +1,11 @@
|
||||
{
|
||||
"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"}
|
||||
],
|
||||
"examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"}
|
||||
"examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"}
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "lpad",
|
||||
"name": "rpad",
|
||||
"type": "function",
|
||||
"description": "Returns a string padded to supplied width using a fill character.",
|
||||
"arguments": [
|
||||
@ -7,6 +7,6 @@
|
||||
{"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":"'Helloxxxxx'"}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user