該方法返回撥用字串轉換為小寫值。
string.toLowerCase( )
下面是引數的詳細資訊:
NA
返回撥用字串轉換為小寫值。
<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.