您的位置:首页 > 编程语言 > Python开发

python中常用的字符串操作

2018-02-01 11:34 204 查看
1、切片与步长
2、find、index、startswith、endswith、rfind、rindex
3、count
4、replace
5、split、splitlines、partition、rpartition
6、join
7、capitalize、title、lower、upper
8、ljust、rjust、center
9、lstrip、rstrip、strip
10、isalpha、isdigit、isalnum、isspace
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: