Re: Path.GetDirectoryName for D?

2018-10-18 Thread Adam D. Ruppe via Digitalmars-d-learn

On Thursday, 18 October 2018 at 19:54:59 UTC, Dr.No wrote:

Are there a function like C#'s Path.GetDirectoryName()


Looks the same as "dirName" from "import std.path"

http://dpldocs.info/experimental-docs/std.path.dirName.1.html


Path.GetDirectoryName for D?

2018-10-18 Thread Dr.No via Digitalmars-d-learn
Are there a function like C#'s Path.GetDirectoryName() 
(https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getdirectoryname?redirectedfrom=MSDN=netframework-4.7.2#System_IO_Path_GetDirectoryName_System_String_) in D standard library or some dub package?
just checking if there's one, so that I don't reinvente the 
wheel...