19 lines
559 B
Plaintext

{
"name": "left",
"type": "function",
"groups": ["String"],
"description": "Returns a substring that contains the <i>n</i> leftmost characters of the string.",
"arguments": [{
"arg": "string",
"description": "a string"
}, {
"arg": "length",
"description": "integer. The number of characters from the left of the string to return."
}],
"examples": [{
"expression": "left('Hello World',5)",
"returns": "'Hello'"
}],
"tags": ["first", "start", "begin", "substring", "leftmost", "characters", "contains", "extracts"]
}