(1)常用函数string.find("abc") ## 返回字符串"abc"在string中的起始序号string.replace("abc", "ab")string.count("d") ##统计指定字符(串)个数string.isalpha()string.isplace()string.isdigit()str.startswith(('x', 'yz'))str.endswith(('x', 'yz'))