file rootname

file rootname name

Returns all of the characters in name up to but not including the last "." character in the last component of name. If the last component of name doesn't contain a dot, then returns name.


See also