string.substring(from, to) 方法从 from 位置截取到 to 位置,to 可选,没有设置时默认到末尾。
document.write(str.substring(4)+"<br>"); // 从第 5
2020-10-20