Artemis.Engine.Utilities.UriTree.UriUtilities.AllButLastPart C# (CSharp) Method

AllButLastPart() public static method

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