Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
>graphemes ( str -- graphemes )
Word and grapheme breaks
Prev:
last-grapheme-from ( end str -- i )
Next:
string-reverse ( str -- rts )
Vocabulary
unicode.breaks
Inputs and outputs
str
a
string
graphemes
an array of strings
Word description
Divides a string into a sequence of individual graphemes.
Definition
USING:
unicode.breaks.private
;
IN:
unicode.breaks
:
>graphemes
( str -- graphemes )
[
first-grapheme
]
>pieces
;