dirname


Description:

public string dirname (string path)

Extract the dirname from the file path.

Parameters:

path

file path to be checked.

Returns:

string of dirname. If path is null or not file path, return "";