jQuery获取字符串末尾字符

substr() 方法可在字符串中抽取从 start 下标开始的指定数目的字符。spa 代码以下:code str.substr(str.length-1,1)
相关文章
相关标签/搜索