'toUpperCase()' Example : toUpperCase « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- toUpperCase
'toUpperCase()' Example
<html>
<body>
<button onclick="var myS = new String('Sample String'); alert(myS.toUpperCase());">
convert 'Sample String' to uppercase
</button>
</body>
</html>
Related examples in the same category