public static string AllButLastPart(string name) { return name.Substring(0, name.LastIndexOf(URI_SEPARATOR)); }