摘要: 字符串不可变. 1. upper() 转换成大写 2. strip() 去掉空格 3. replace() 替换 4. split() 切割 5. format() 格式化输出 6. startswith() 判断是否以xxx开头 7. find() 查找. 找不到返回-1 8. len() 内置函 阅读全文
posted @ 2019-04-26 20:52 青春-无悔 阅读(128) 评论(0) 推荐(0) 编辑