FileName.ext

Determine file name extension as slice of input.

struct FileName
nothrow extern (D) static nothrow pure @safe @nogc
const(char)[]
ext
(
const(char)[] str
)

Parameters

str
Type: const(char)[]

file name

Return Value

Type: const(char)[]

filename extension (read-only). Points past '.' of extension. If there isn't one, return null.

Meta