首页 > 技术文章 > Python中的lstrip()
1gaoyu 2020-03-22 16:58 原文
在Python中的lstrip方法表示用于截掉字符串左边的空格或指定字符。
str.lstrip([chars])