大家好,又见面了,我是你们的朋友全栈君。
console.log(time)
输出:qwertyuiop
console.log(time.substring(0, 5))
输出:qwert
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/135544.html原文链接:https://javaforall.net
微信小程序js 字符串截取[通俗易懂]微信小程序js字符串截取console.log(time)输出:qwertyuiopconsole.log(time.substring(0,5))输出:qwert
大家好,又见面了,我是你们的朋友全栈君。
console.log(time)
输出:qwertyuiop
console.log(time.substring(0, 5))
输出:qwert
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/135544.html原文链接:https://javaforall.net