标签:
1. 判断是否为null或者空字符
var == null var == undefined var == ‘‘
2. 字符串及其分割
var arr = new Array(); //定义一数组 arr = str.split(" "); //字符分割//arr[0],.....
js 字符及字符串
原文地址:http://www.cnblogs.com/davidwang456/p/4284315.html