Javascript String.toLocaleLowerCase()方法
作者:--
发布时间:2019-11-20
评论:0
阅读:0
此方法用于字符字符串转换为小写,同时尊重当前的语言环境。对于大多数语言,这与tolowercase的返回值一样。
语法
string.tolocalelowercase( )
下面是参数的详细信息:
返回值:
例子:
<html>
<head>
<title>javascript string tolocalelowercase() method</title>
</head>
<body>
<script type="text/javascript">
var str = "apples are round, and apples are juicy.";
document.write(str.tolocalelowercase( ));
</script>
</body>
</html>
这将产生以下结果:
apples are round, and apples are juicy.