public static string RemoveQuery(string uri) { return(uri.Left(PredicateUtils.ObjectEquals <char>('?').Not())); }
public static Pair <string, string> SplitAroundCharFromRight(this string s, char c) { return(s.SplitAroundCharFromRight(PredicateUtils.ObjectEquals(c))); }