Summary
Gets Unicode value of a character in a string.
Description
Returns a non-negative integer that is the Unicode code point value.
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
str | string | yes | The string to get the Unicode value from |
pos | number | yes | The position of an element in the String to return the code point value from |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
codePointValue | number | The number representing the code point value of the character at the given index; undefined if no element at pos |