Javascript String.toLowerCase()方法
作者:--
发布时间:2019-11-20
评论:0
阅读:0
该方法返回调用字符串转换为小写值。
语法
string.tolowercase( )
下面是参数的详细信息:
返回值:
例子:
<html>
<head>
<title>javascript string tolowercase() method</title>
</head>
<body>
<script type="text/javascript">
var str = "apples are round, and apples are juicy.";
document.write(str.tolowercase( ));
</script>
</body>
</html>
这将产生以下结果:
apples are round, and apples are juicy.