<html> <body> <button onclick="var myS = new String('www.java2java.com'); alert(myS.toLocaleLowerCase());"> String toLocaleLowerCase</button> </body> </html>