摘要: 1、slice(start,stop)和substring(start,stop) 方法都是用于提取字符串中从start开始到stop-1间的字符(因为字符串索引是从0开始)。其中 start必选,stop可选。2、现在主要讲两者间的不同之处 substring(start,stop): 1... 阅读全文
posted @ 2016-01-03 18:38 kangaoxiaoshi 阅读(390) 评论(0) 推荐(0) 编辑