|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > File > DBWExtFromFileName |
Retrieves the only extension from the file name
Function DBWExtFromFileName(FullFileName)
FullFileName |
is the entire (comprehensive of all directories) file name |
A string containing the only extension of the file
FullFileName = "c:\temp\test.sldasm"
fileextension = DBWExtFromFileName(FullFileName)
msgbox fileextension 'the output will be sldasm (without dot)