Object Method String.mid
Extracts a substring from a string.
String.mid(number start,[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 |
---|---|---|---|
start | number | Yes | The position of the first character to retrieve. |
count | number | No | The number of characters to retrieve. If not set, all characters until the end of the string will be returned. |