/// <summary> /// Returns first N levels of the given alias path, N+1 if CMSWebSiteBaseAliasPath is set. /// </summary> /// <param name="aliasPath">Alias path</param> /// <param name="level">Number of levels to be returned</param> public static string GetPathLevel(string aliasPath, int level) { return(TreePathUtils.GetPathLevel(aliasPath, level)); }