会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
多思考
多思考
博客园
首页
新随笔
联系
订阅
管理
2018年11月14日
string_test
摘要: #! -*- coding:utf-8 -*- #1、strip,lstrip,rstrip #去掉空格 name.strip() 去掉空格和换行符 name.strip('xx') 去掉某个字符串 #2、lower,upper #将字母进行小写,大写#3、startswith,endswith #
阅读全文
posted @ 2018-11-14 12:35 binghex
阅读(470)
评论(0)
推荐(0)
公告