微信小程序js 字符串截取

console.log(time)
输出:qwertyuiop
console.log(time.substring(0, 5))
输出:qwert
原文地址:https://www.cnblogs.com/lsyy2017/p/11622623.html