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