DBWFileNameNoExt1

<< Click to Display Table of Contents >>

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

DBWFileNameNoExt1

Description

Retrieves the file name without extension from the file name

Syntax

Function DBWFileNameNoExt1(FileName)

Parameters

FileName

is the name of the file

Return Values

A string containing the file name of the document without dot and extension.

See also

DBWFileNameNoExt

Example

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