会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
bibicode
新随笔
管理
2020年11月30日
strip,rstrip, lstrip
摘要: strip 去除字符串左右两边的指定字符 rstrip 去除字符串右边的指定字符 lstrip 去除字符串左边的指定字符 以上的函数默认都是去除空格 如果要去除整个字符串中不要的字符用replace
阅读全文
posted @ 2020-11-30 09:52 bibicode
阅读(70)
评论(0)
推荐(0)
编辑