立即学习:https://edu.csdn.net/course/play/6861/326742?utm_source=blogtoedu
1、function
2、methon特定
3、查找index 未找到返回 e ,find未找到返回-1
4、压缩,即删除首或尾的指定字符,str.strip[chars],不指定chars,会压缩空白
5、替换 replace
6、格式化插入方法,format
7、分割方法 split
立即学习:https://edu.csdn.net/course/play/6861/326742?utm_source=blogtoedu
1、function
2、methon特定
3、查找index 未找到返回 e ,find未找到返回-1
4、压缩,即删除首或尾的指定字符,str.strip[chars],不指定chars,会压缩空白
5、替换 replace
6、格式化插入方法,format
7、分割方法 split