Handbook
Glossary
last-word-from ( end str -- i )
Word and grapheme breaks
Prev:
last-word ( str -- i )
Next:
>words ( str -- words )
Vocabulary
unicode
Inputs
end
index
str
a
string
Outputs
i
index
Word description
Finds the index of the start of the word that the index is contained in.
Definition
USING:
kernel
sequences
;
IN:
unicode
:
last-word-from
( end str -- i )
swap
head-slice
last-word
;