Houdini 16.5 Nodes VOP nodes

String to Charactor

Converts an UTF8 string into a codepoint.

On this page

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.

Inputs

String

The string to change to code point.

Outputs

Charactor

The code point for the first UTF8 character in string.

See also

VOP nodes