Delivers the first x characters of the character string starting on the left.
left(Integer x) | ||||
---|---|---|---|---|
Argument | Integer | x | Number of characters starting on the left. | |
Return value | String | New character string with the first x characters starting on the left. |
Formula | Result |
---|---|
='abcd'.left(2) | ab |