01 2012 档案
摘要:1:split 函数将字符串按某个字符分割,将分割后的结果存入字符串数组中function SplitUsersInformation(users) { var usersArray = users.split(';'); return usersArray;}2:substr 函数切割目标字符串currentStr = currentStr .substr(0, currentStr.length - 2);3:push 方法向Array中添加一条记录var totalUsers = new Array();function PushItem(name, departmemt
阅读全文