2015-06-11 12:02:27 +10:00
|
|
|
{
|
2015-09-20 17:12:43 +02:00
|
|
|
"name": "left",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["String"],
|
2015-06-11 12:02:27 +10:00
|
|
|
"description": "Returns a substring that contains the <i>n</i> leftmost characters of the string.",
|
2015-09-20 17:12:43 +02:00
|
|
|
"arguments": [
|
|
|
|
{"arg":"string","description":"a string"},
|
|
|
|
{"arg":"length","description":"integer. The number of characters from the left of the string to return."}],
|
2015-06-11 12:02:27 +10:00
|
|
|
"examples": [ { "expression":"left('Hello World',5)", "returns":"'Hello'"}
|
|
|
|
]
|
|
|
|
}
|