Compare string in locale format : String : Data Type JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Data Type » String »

 

Compare string in locale format



    
<html>
<body>
<button onclick="var myS = new String('Sample String'); 
alert(myS.localeCompare('Sample String'));">String locale Compare</button>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Data Type
» String