Extracts specified parts of a full file pathname.
.pro
). Filename
boulder.img
). Fileroot
Path
Separator
'/'
']'
'\'
For example, on a UNIX system the file
file_mine.pro
consists of the file root file_mine
and the extension pro
.
full = '/home/work/data/testimage.tif' PARSEFILENAME, full, Fileroot = root, $ Path = path, Filename = name, $ Extension = extension INFO, path, root, name, extensionPATH STRING = '/home/work/data/' ROOT STRING = 'testimage' NAME STRING = 'testimage.tif' EXTENSION STRING = 'tif'