Handbook
Glossary
split-case ( str -- words )
Vocabulary
tokencase
.
private
Inputs
str
an
object
Outputs
words
an
object
Definition
USING:
kernel
sequences
unicode
;
IN:
tokencase.private
:
split-case
( str -- words )
>graphemes
[
dup
empty?
not
]
[
dup
[
case-index
]
[
length
or
]
bi
cut-slice
swap
concat
]
produce
nip
;