$string.toUpperCase()
All letters of the string string will be converted to uppercase.
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| string | String | String whose characters are to be converted. | yes |
Type: String
string to uppercase.
toUpperCase("Hello world!")
Output: HELLO WORLD!