Extract directory name from path. Default directory separator is \.
\
String ExtractDirectoryName(const String &path, const wchar_t separator = L'\'); // Without separator at the end