If there is no _extension, null is returned.
extension
fn
auto extension(R)(R path) if (isRandomAccessRange!R && hasSlicing!R && isSomeChar!(ElementType!R) ||
is(StringTypeOf!R))Parameters
path | A path name. |
Returns
The _extension part of a file name, including the dot.