Lucee object methods reference
Object Method String.mid
Extracts a substring from a string.
String.mid(number start,[number count]):string
Category
string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
start | number | Yes | The position of the first character to retrieve. | |
count | number | No | -1 | The number of characters to retrieve. If not set, all characters until the end of the string will be returned. |