js方法备忘

substring(0,1);  参数是字符串的坐标

substr(0,1) ;   第一个是坐标索引   第二个是截取长度;

原文地址:https://www.cnblogs.com/javawebstudy/p/web.html