public static string TrimNotIn(this string text, IList<char> chars) { return text.TrimEndNotIn(chars).TrimStartNotIn(chars); }