js split
var dateStr = "2002/07/03";
dateArray = dateStr.split("/");
Now:
dateArray[0]="2002"
dateArray[1]="07"
dateArray[2]="03"
本文来自博客园,作者:CarlZeng,转载请注明原文链接:https://www.cnblogs.com/backuper/archive/2008/12/24/1361239.html
需求沟通链接 扫客服加群: