File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
resources/function_help/json Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name": "lpad ",
2
+ "name": "rpad ",
3
3
"type": "function",
4
4
"description": "Returns a string padded to supplied width using a fill character.",
5
- "arguments": [
6
- {"arg":"string","description":"string to pad"},
7
- {"arg":"width","description":"length of new string"},
8
- {"arg":"fill","description":"character to pad the remaining space with"}
5
+ "arguments": [ {"arg":"string","description":"string to pad"},
6
+ {"arg":"width","description":"length of new string"},
7
+ {"arg":"fill","description":"character to pad the remaining space with"}
9
8
],
10
- "examples": [ { "expression":"lpad ('Hello', 10, 'x')", "returns":"'Helloxxxxx '"}
9
+ "examples": [ { "expression":"rpad ('Hello', 10, 'x')", "returns":"'xxxxxHello '"}
11
10
]
12
11
}
Original file line number Diff line number Diff line change 1
1
{
2
- "name": "rpad ",
2
+ "name": "lpad ",
3
3
"type": "function",
4
4
"description": "Returns a string padded to supplied width using a fill character.",
5
- "arguments": [ {"arg":"string","description":"string to pad"},
6
- {"arg":"width","description":"length of new string"},
7
- {"arg":"fill","description":"character to pad the remaining space with"}
5
+ "arguments": [
6
+ {"arg":"string","description":"string to pad"},
7
+ {"arg":"width","description":"length of new string"},
8
+ {"arg":"fill","description":"character to pad the remaining space with"}
8
9
],
9
- "examples": [ { "expression":"rpad ('Hello', 10, 'x')", "returns":"'xxxxxHello '"}
10
+ "examples": [ { "expression":"lpad ('Hello', 10, 'x')", "returns":"'Helloxxxxx '"}
10
11
]
11
12
}
You can’t perform that action at this time.
1 commit comments
nyalldawson commentedon Sep 26, 2015
@jef-n this doesn't look quite right - the function names and examples have now been flipped