Handbook
Glossary
path-components ( path -- seq )
Factor handbook
»
Input and output
»
Pathnames
Prev:
file-extension ( path -- extension )
Next:
prepend-path ( path1 path2 -- path )
Vocabulary
io
.
pathnames
Inputs
path
a pathnames string
Outputs
seq
a
sequence
Word description
Splits a pathname on the
path-separator
into its its component strings.
Definition
USING:
io.backend
sequences
splitting
;
IN:
io.pathnames
:
path-components
( path -- seq )
normalize-path
path-separator
split
harvest
;