AriDEVParser.Util.Utilities.GetPathFromFullPath C# (CSharp) Method

GetPathFromFullPath() public static method

public static GetPathFromFullPath ( string fullPath ) : string
fullPath string
return string
        public static string GetPathFromFullPath(string fullPath)
        {
            return !fullPath.Contains("\\") ? Directory.GetCurrentDirectory() :
                fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
        }