While the find and count string methods can check for substring occurrences, there is no ready-made function to check for the occurrence in a string of a set of characters.

  • 字符串方法'find'和'count'方法可以检查子串在字符串中的出现,但是却没有一个现成的函数检查一个字符集在字符串中的出现。
目录 查词历史