mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -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",
|
"type": "function",
|
||||||
"description": "Returns a string padded to supplied width using a fill character.",
|
"description": "Returns a string padded to supplied width using a fill character.",
|
||||||
"arguments": [ {"arg":"string","description":"string to pad"},
|
"arguments": [ {"arg":"string","description":"string to pad"},
|
||||||
{"arg":"width","description":"length of new string"},
|
{"arg":"width","description":"length of new string"},
|
||||||
{"arg":"fill","description":"character to pad the remaining space with"}
|
{"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",
|
"type": "function",
|
||||||
"description": "Returns a string padded to supplied width using a fill character.",
|
"description": "Returns a string padded to supplied width using a fill character.",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
@ -7,6 +7,6 @@
|
|||||||
{"arg":"width","description":"length of new string"},
|
{"arg":"width","description":"length of new string"},
|
||||||
{"arg":"fill","description":"character to pad the remaining space with"}
|
{"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