Path.GetExtension Manual     Reference     Scripting  
Scripting > Runtime Classes > Path
Path.GetExtension

static function GetExtension (path : string) : string

Description

Returns the extension component of the specified path string.

The extension returned includes the . character used to separate the extension from the rest of the path.