FileInfo.extension

string extension() @property nothrow

Get extension property.

Returns

The file extension (excluding the dot).