方法一: str.charAt(str.length - 1) 方法二: str.subStr(str.length-1,1) 方法三: var str = "123456"; spstr = str.split(""); spstr[spstr.length-1]; 相关文章: