Core Function GetFileNameWithoutExtension

From Sputnik Wiki
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