retrieveDirectory

Extracts the directory from path.

version(COMPILE)
extern (C++) nothrow extern (D)
static if(1)
const(char)[]
retrieveDirectory
(
const(char)* path
)

Parameters

path const(char)*

Full path containing the filename and the directory

Return Value

Type: const(char)[]

The directory name

Suggestion Box / Bug Report