- 博客(1)
- 收藏
- 关注
原创 python常用字符串函数
1.判断类: isalnum() isdigital() isspace() islower() isupper() startswith() endswith() 返回布尔值 2.大小写转换类: upper() lower() capitalize() title() 前面两个是将全部转换为大小写,第三个是将开头的首字母大写,第四个是将所有首字母大写 3.查找类: startswith()返回布尔值 endswith()返回布尔值 find(),返回位置 cou.
2021-09-29 11:14:51 63
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人