public static bool OnlyContains(this string str, char[] characters) { return str.Select(ch => characters.Any(t => ch == t)).All(found => found); }