Version: 2018.2

Path.GetExtension(string)

Switch to Manual

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.