unicode.breaks vocabulary
Factor documentation > Factor handbook > Vocabulary index


Documentation
Word and grapheme breaks

Meta-data
Tags:text
Authors:Daniel Ehrenberg


Words

Ordinary words
WordStack effect
>graphemes( str -- graphemes )
>words( str -- words )
first-grapheme( str -- i )
first-grapheme-from( start str -- i )
first-word( str -- i )
first-word-from( start str -- i )
last-grapheme( str -- i )
last-grapheme-from( end str -- i )
last-word( str -- i )
last-word-from( end str -- i )
string-reverse( str -- rts )
word-break-at?( i str -- ? )


Files
resource:basis/unicode/breaks/breaks.factor
resource:basis/unicode/breaks/breaks-docs.factor
resource:basis/unicode/breaks/breaks-tests.factor


Children
VocabularySummary
unicode.breaks.privateunicode.breaks.private vocabulary