js字符串方法预览: fromCharCode(num1, num2,,,), charAt(), charCodeAt(), length, split(''), slice(start, end?) substring(start, end?) trim() concat() toLowerCase() toUpperCase() indexOf(str, index?) lastIndexOf(str, index?) search(regexp) match(regexp) replac…