String.substring
substring — Extracts the chars in a string between two specified indexes.
Description
String.substring(integer start, [integer stop])
Parameters
Name | Description | Type | Default | Optional |
---|---|---|---|---|
start | integer | No | ||
stop | integer | Yes |
Return values
string primitive.
Examples
Example #1 – substring example