JavaScript toLowerCase 方法
toLowerCase 方法用于把(英文)字符串转换为小写,并返回转换后的字符串。其语法如下:
toLowerCase 方法实例
toLocaleLowerCase 方法
toLocaleLowerCase 方法 toLowerCase 基本一样,toLocaleLowerCase 按照本地方式把字符串转换为小写。只有几种语言(如土耳其语)具有地方特有的大小写映射。
本文地址:https://www.stayed.cn/item/13387
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我