2015-06-11 12:02:27 +10:00
|
|
|
{
|
2015-09-27 01:52:20 +02:00
|
|
|
"name": "lpad",
|
2015-09-20 17:12:43 +02:00
|
|
|
"type": "function",
|
2015-06-11 12:02:27 +10:00
|
|
|
"description": "Returns a string padded to supplied width using a fill character.",
|
2015-09-26 21:26:11 +02:00
|
|
|
"arguments": [ {"arg":"string","description":"string to pad"},
|
|
|
|
{"arg":"width","description":"length of new string"},
|
|
|
|
{"arg":"fill","description":"character to pad the remaining space with"}
|
2015-06-11 12:02:27 +10:00
|
|
|
],
|
2015-09-27 01:52:20 +02:00
|
|
|
"examples": [ { "expression":"lpad('Hello', 10, 'x')", "returns":"'xxxxxHello'"}
|
2015-06-11 12:02:27 +10:00
|
|
|
]
|
|
|
|
}
|