first-grapheme-from ( start str -- i )
Word and grapheme breaks

Prev:first-grapheme ( entire-str start -- i )
Next:last-grapheme ( str -- i )


Vocabulary
unicode

Inputs
startan index
stra string


Outputs
ian index


Word description
Finds the length of the first grapheme of the string, starting from the given index. This can be used repeatedly to efficiently traverse the graphemes of the string, using slices.

Definition


:: first-grapheme-from ( start str -- i )
str start first-grapheme start + ;