fix lpad/rpad context help (followup b46cbbe)

This commit is contained in:
Juergen E. Fischer 2015-09-27 01:52:20 +02:00
parent 0a51b13ba9
commit 3c324c9985
2 changed files with 4 additions and 4 deletions

View File

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

View File

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