AriDEVParser.Util.Utilities.GetPathFromFullPath C# (CSharp) 메소드

GetPathFromFullPath() 공개 정적인 메소드

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