JavaScript为字符串提供了一些常用方法
toUpperCase:toUpperCase()把字符串变为大小写
toLowerCase:tolowerCase()把字符串变为小写
indexOf:indexOf()搜素指定字符串出现的位置
substring:substring()返回指定区间的子串,没有找到的话 返回-1
toUpperCase:toUpperCase()把字符串变为大小写
toLowerCase:tolowerCase()把字符串变为小写
indexOf:indexOf()搜素指定字符串出现的位置
substring:substring()返回指定区间的子串,没有找到的话 返回-1