摘要: lstrip()方法 lstrip() 方法用于截掉字符串左边的空格或指定字符 str.lstrip([chars]) 截掉指定的字符char 返回截掉指定字符的字符串 str = " this is string example....wow!!! "; print( str.lstrip() ) 阅读全文
posted @ 2019-01-06 10:17 凌逆战 阅读(996) 评论(0) 推荐(2) 编辑