1.str.count(s):傳回目標字串中出現s字串的次數。
2.str.startswith(s):若目標字串中的開頭為s字串傳回True,反之則傳回False。
3.str.endswith(s):若目標字串中的結尾為s字串傳回True,反之則傳回False。
Copyright © All rights reserved | This template is made with by Colorlib