Vocabulary
io.pathnames

Inputs
patha pathname string


Outputs
stema string


Word description
Outputs the file-name of path with the file extension removed, if any.

Examples
USING: io.pathnames prettyprint ; "/usr/bin/gcc" file-stem .
"gcc"

USING: io.pathnames prettyprint ; "/home/csi/gui.vbs" file-stem .
"gui"


See also
file-name, file-extension

Definition