FileInfo.extension

string extension() @property

Get extension property.

Returns

The file extension (excluding the dot).