String对象的常用API - Azurehuihui/LearnJS GitHub Wiki
字符操作:charAt,charCodeAt,fromCharCode
字符串提取:substr,substring ,slice
位置索引:indexOf ,lastIndexOf
大小写转换:toLowerCase,toUpperCase
模式匹配:match,search,replace,split
其他操作:concat,trim,localeCompare
字符操作:charAt,charCodeAt,fromCharCode
字符串提取:substr,substring ,slice
位置索引:indexOf ,lastIndexOf
大小写转换:toLowerCase,toUpperCase
模式匹配:match,search,replace,split
其他操作:concat,trim,localeCompare