jquery分割字符串取值

var strs = new Array();

var res="a*b";

strs = res.split("*");

strs[0] 的值为a,

strs[1] 的值为b

原文地址:https://www.cnblogs.com/Zpyboke/p/5228176.html