app-workflow_engine

On this page:

charCodeAt

Summary

Gets UTF-16 code of a string at an index.

Description

Returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index.

Route

No Northbound API Available

Roles

Parameters

DetailsExampleSchema
Name Type Required Description
str string yes The string to get the character code from
index number yes The index to get the character code at

Return

DetailsExampleSchema
Name Type Description
code number The number representing the UTF-16 code unit value of the character at the given index; NaN if index is out of range