Summary
Gets a substring using specified indices.
Description
Returns the part of the string between the start and end indexes, or to the end of the string.
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
str | string | yes | The string to find a substring within |
indexStart | number | yes | The index of the first char to include in the returned substring |
indexEnd | number | no | The index of the first char to exclude from the returned substring |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
substring | string | A new string containing the specified part of the given string |