lstrip() 、rstrip() 、strip()

去掉首尾空格
lstrip() 去除左边空格
rstrip() 去除右边空格
strip() 去除左右两边空格

posted @   灵、主  阅读(38)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示