Home  >  Article  >  What does ucase mean in vb

What does ucase mean in vb

藏色散人
藏色散人Original
2021-01-06 10:18:1911865browse

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.

What does ucase mean in vb

The operating environment of this article: Windows 7 system, Dell G3 computer, Visual Basic version 6.0.

What does ucase mean in vb?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn