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