Home > Common Problem > What does ucase mean in vb

What does ucase mean in vb

藏色散人
Release: 2023-01-13 00:27:32
Original
11894 people have browsed it

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)
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template