Core Function GetFileNameWithoutExtension

From Sputnik Wiki
Revision as of 12:38, 14 June 2015 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox