Skip to content

Commit

Permalink
fix lpad/rpad context help (followup b46cbbe)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 26, 2015
1 parent 0a51b13 commit 3c324c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/function_help/json/lpad
Original file line number Diff line number Diff line change
@@ -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'"}
]
}
4 changes: 2 additions & 2 deletions resources/function_help/json/rpad
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"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"}
],
"examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"}
"examples": [ { "expression":"rpad('Hello', 10, 'x')", "returns":"'Helloxxxxx'"}
]
}

0 comments on commit 3c324c9

Please sign in to comment.