FileName.ext

Determine file name extension as slice of input.

struct FileName
nothrow extern (C++) static
const(char)*
ext
pure
(
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