Core Function GetExtension

From Sputnik Wiki
Jump to: navigation, search
GetExtension ( <path> )

Contents

Description

Returns the extension of the specified path string.

Parameters

path

The path to use.

Return Value

Success: Returns the extension including the ".".

Failure: Returns empty string.

Remarks

None

Example

$File = 'c:\windows\System32\Sputnik.exe';
 
println( GetExtension($File) );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox