1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-16 00:03:12 -04:00

fix mixup between lpad/rpad help (fixes )

This commit is contained in:
Juergen E. Fischer 2015-09-26 21:26:11 +02:00
parent 56b5d4e723
commit b46cbbe425
2 changed files with 11 additions and 11 deletions
resources/function_help/json

@ -1,12 +1,11 @@
{ {
"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": [ {"arg":"string","description":"string to pad"},
{"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":"lpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"} "examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"}
] ]
} }

@ -1,11 +1,12 @@
{ {
"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":"width","description":"length of new string"}, {"arg":"string","description":"string to pad"},
{"arg":"fill","description":"character to pad the remaining space with"} {"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'"}
] ]
} }