Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
javascript
basic
035stringmethods_toUpperCase.js
035stringmethods_toUpperCase.js
/** * String methods: toLowerCase toLowerCase */ var str, str1, str2; str = "This is SOME sample string ČĆŽŠĐ čćžšđ!"; str1 = str.toLowerCase(); str2 = str.toUpperCase(); console.log(str1); //this is some sample string čćžšđ čćžšđ! console.log(str2); //THIS IS SOME SAMPLE STRING ČĆŽŠĐ ČĆŽŠĐ!
Reload page
Preview
W3C validation
Edit Code
JS Console