Object Method String.left
Returns the leftmost count characters in a string.
String.left(number count):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
count | number | Yes | A positive integer. Number of characters to return. |