D Documentation  
getDrive
char[] getDrive(char[] fullname)

Get drive of name.

Example:
writefln(getDrive(args[0]));

Output could be:
C:

See also:
getDirName, getBaseName, getExt
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.