1、charAt()
str.charAt(str.length-1)
2、substr()
str.substr(str.length-1,1)
3、split()
js截取最后一个字符
原文:https://www.cnblogs.com/wwzz/p/14384288.html