CharCodeAt
Overview
The CharCodeAt Node outputs the ASCII code of a character at a given index in a String. It takes as inputs a String and the index of the character whose code is to be obtained, and it ouputs the ASCII code of said character.
The characters' indices in the String start from zero.
If the index given is greater than the String length, the output is -1
.
Scope: Project, Scene, Function, Prefab.
Attributes
Inputs
Outputs
External Links
ASCII on Wikipedia.
HTML ASCII Reference on W3Schools.
Last updated