Skip to content

__unicode_idx__

builtin · libnexusinterp/corefcn/strfns-proprietary.cc

: idx = __unicode_idx__ (str)

Return, for each byte of the UTF-8 string str, the number of the character it belongs to. Each byte of an invalid sequence is a character of its own.