摘要: strip 去除字符串左右两边的指定字符 rstrip 去除字符串右边的指定字符 lstrip 去除字符串左边的指定字符 以上的函数默认都是去除空格 如果要去除整个字符串中不要的字符用replace 阅读全文
posted @ 2020-11-30 09:52 bibicode 阅读(69) 评论(0) 推荐(0) 编辑