Summary
Gets the character at a given index.
Description
Returns a new string of a single UTF-16 code unit located at the specified offset in the string.
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
| Name | Type | Required | Description |
|---|---|---|---|
| str | string | yes | The string to get a character from |
| index | number | yes | The index to get the character at |
Return
DetailsExampleSchema
| Name | Type | Description |
|---|---|---|
| character | string | The single character at the specified index |