ucase is a function in vb that is used to convert lowercase letters into uppercase letters. Its syntax is "UCase(string)", where the string parameter is any valid string expression. If string contains Null, Null will be returned.
The operating environment of this article: Windows 7 system, Dell G3 computer, Visual Basic version 6.0.
What does ucase mean in vb?
The UCase() function is used to convert lowercase letters to uppercase letters.
The syntax is:
UCase(string)
The necessary string parameter is any valid string expression. If string contains Null, Null will be returned. In the UCase() function, the original uppercase or non-alphabetic characters remain unchanged.
The UCase function returns Variant(String), which contains the string converted to uppercase.
Instructions
Only lowercase letters will be converted to uppercase; original uppercase or non-letter characters remain unchanged.
Example: The following example uses the UCase function to return the uppercase form of a string:
Dim MyWord= UCase("Hello World")' returns "HELLO WORLD".
For more related knowledge, please visit PHP Chinese website!
The above is the detailed content of What does ucase mean in vb. For more information, please follow other related articles on the PHP Chinese website!