>>-FILESPEC(option,filespec)-----------------------------------><
Note
Example 7.43. Builtin function FILESPEC
thisfile = "C:\WINDOWS\UTIL\SYSTEM.INI" say FILESPEC("drive",thisfile) /* says "C:" */ say FILESPEC("path",thisfile) /* says "\WINDOWS\UTIL\" */ say FILESPEC("location",thisfile) /* says "C:\WINDOWS\UTIL\" */ say FILESPEC("name",thisfile) /* says "SYSTEM.INI" */ say FILESPEC("extension",thisfile) /* says "INI" */ part = "name" say FILESPEC(part,thisfile) /* says "SYSTEM.INI" */