UCase Function


UCase Function

Class

Microsoft.VisualBasic.Strings

Syntax

     Dim result As type = UCase(value) 


type (required)

One of the following data types: Char or String


value (required; expression of type type)

A valid string expression or a character

Description

The UCase function converts a string or character to uppercase.

Usage at a Glance

  • UCase only affects lowercase letters; all other characters in value are unaffected.

  • UCase returns Nothing if value contains Nothing.

  • UCase returns the same data type as value.

See Also

LCase Function, StrConv Function




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net