basename (fullname
[,suffixlist
])
Returns the first element of the list that would be produced if you called
fileparse
with the same arguments. Provides compatibility with the Unix
basename
command. Takes the following arguments:
Input file specification
Optional list containing patterns to be matched against the end of fullname to find the suffix
Copyright © 2001 O'Reilly & Associates. All rights reserved.