DBWFileNameNoExt

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > File >

DBWFileNameNoExt

Description

Retrieves the file name without extension from the file name

Syntax

Function DBWFileNameNoExt(FileName)

Parameters

FileName

is the name of the file

Return Values

A string containing the file name of the document without extension

See also

DBWFileNameNoExt1

Example

filename = "test.sldasm"
filenamenoext = DBWFileNameNoExt(filename)
msgbox filenamenoext
'it prints "test."