Artemis.Engine.Utilities.UriTree.UriUtilities.AllButLastPart C# (CSharp) 메소드

AllButLastPart() 공개 정적인 메소드

Return everything in a Uri except for the last part of the name.
public static AllButLastPart ( string name ) : string
name string
리턴 string
        public static string AllButLastPart(string name)
        {
            return name.Substring(0, name.LastIndexOf(URI_SEPARATOR));
        }