Skip to content
Permalink
Browse files

fix lpad/rpad context help (followup b46cbbe)

  • Loading branch information
jef-n committed Sep 26, 2015
1 parent 0a51b13 commit 3c324c998581d98b33eacd1209efef2b2ed9f495
Showing with 4 additions and 4 deletions.
  1. +2 −2 resources/function_help/json/lpad
  2. +2 −2 resources/function_help/json/rpad
@@ -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'"}
]
}
@@ -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.
You can’t perform that action at this time.