Core Function GetFileNameWithoutExtension
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> GetFileNameWithoutExtension ( <path> ) </pre> === Description === Returns the file name of the specified path string without the extension. === Parameters === ==== path...")
Newer edit →
(Created page with "<pre> GetFileNameWithoutExtension ( <path> ) </pre> === Description === Returns the file name of the specified path string without the extension. === Parameters === ==== path...")
Newer edit →
Revision as of 14:17, 1 December 2011
GetFileNameWithoutExtension ( <path> )
Contents |
Description
Returns the file name of the specified path string without the extension.
Parameters
path
The path to use.
Return Value
Success: Returns the full file name without any extension.
Failure: Returns empty string.
Remarks
None
Example
$File = 'c:\windows\System32\Sputnik.exe'; println( GetFileNameWithoutExtension($File) );