Returns the filename without extension for the specified path string.
string path::get-file-name-without-extension(path)
Parameters
Name | Type | Description |
---|---|---|
path | string | The path of the file. |
Return Value
A
string
containing the string
returned
by NAnt.Core.Functions.PathFunctions.GetFileName(System.String)
, minus the last period (.) and all
characters following it.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions