摘要:
若要实现有多个分隔符分隔的字符串,具体代码如下: <html> <head> <script language="javascript" type="text/javascript"> function window_load(){ var str = "name,age,sex;address"; 阅读全文
摘要:
JS中split用法 <script language="javascript"> function spli(){ datastr="2,2,3,5,6,6"; var str= new Array(); str=datastr.split(","); for (i=0;i<str.length 阅读全文