extension

fnauto extension(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) || is(StringTypeOf!R))

Parameters

pathA path name.

Returns

The _extension part of a file name, including the dot.

If there is no _extension, null is returned.