于2017-07-06由小牛君创建
str.strip([chars]);
chars -- 从字符串开始处或结束要删除的字符
#!/usr/bin/python3 str = "*****this is string example....wow!!!*****" print (str.strip( '*' ))
this is string example....wow!!!
在线咨询
免费热线
资料发放
技术答疑
关注微信