fix mixup between lpad/rpad help (fixes #13433)

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

View File

@ -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'"}
]
}

View File

@ -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'"}
]
}