您的位置首页百科知识

Python字符串替换?

Python字符串替换?

的有关信息介绍如下:

Python字符串替换?

1.find()

2.index()

3.rfind()

4.按照ASCII码值获取

5.replace()

6.全部替换

7.控制替换的次数