prepend-path ( path1 path2 -- path )
Factor handbook » Input and output » Pathnames

Prev:path-components ( path -- seq )
Next:append-path ( path1 path2 -- path )


Vocabulary
io.pathnames

Inputs
path1a pathname string
path2a pathname string


Outputs
patha pathname string


Word description
Prepends path2 and path1 to form a pathname.

Examples
USING: io.pathnames prettyprint ; "second.txt" "first" prepend-path .
"first/second.txt"


See also
append-path

Definition