Method: UCase for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: UCase for VBS
Method: UCase for VBS
Converts a text to uppercase.
vUCase = Object.UCase(string)
| Object | VBS Object with this method. You do not need to specify this object. |
| string | Variant Specifies any text. |
| vUCase | Variant Receives the text in uppercase. |
The following example converts a text into uppercase:
Dim MyString MyString = UCase("DIAdem!") Call MsgBox(MyString) ' Returns "DIADEM!"