utf8-index> ( n string -- n' )


Vocabulary
io.encodings.utf8

Definition
USING: kernel math sequences ;

IN: io.encodings.utf8

: utf8-index> ( n string -- n' )
code-point-offsets [ <= ] with find drop ;