Houdini 19.0 Nodes VOP nodes String to Character

String to Character

Converts an UTF8 string into a codepoint.

On this page
Since 14.0

Returns the code point of the first UTF8 character in the given string.

If the prefix of the string isn’t a valid UTF8 encoding, or is empty, -1 is returned.

Overlong UTF8 encodings will return -1.



The string to change to code point.



The code point for the first UTF8 character in string.

See also

String to Character