摘要: substr substr() 方法返回一个字符串中从指定位置开始到指定字符数的字符。 语法 参数 strat 开始提取字符的位置。如果为负值,则被看作 strLength + start,其中 strLength 为字符串的长度(例如,如果 start 为 3,则被看作 strLength 3)。 阅读全文
posted @ 2017-08-15 13:56 月半流云 阅读(536) 评论(0) 推荐(0) 编辑