摘要: 一。私有方法: 1.大小写:upper()和lower() 2.替换:replace() 3.判断是否为数字:isdigit 4.分割字符串:split() 5.消除首尾字符:Strip / rstrip / lstrip 6.字符连接:“_".join(str) 7.字符的格式化:"{0},{1} 阅读全文
posted @ 2020-01-05 22:00 gmjiage 阅读(149) 评论(0) 推荐(0)