苍天有泪 发表于 2018-8-6 11:51:08

python的strip()函数

  python的strip()函数:
  Python strip() 方法用于移除字符串头尾指定的字符(默认为空格或换行符)
  示例:
  str.strip()
  str.strip('0')
页: [1]
查看完整版本: python的strip()函数