Name

UCase Function

Class

Microsoft.VisualBasic.Strings

Syntax

UCase(value)
value (required; String)

A valid string expression

Return Value

String

Description

Converts a string to uppercase

Rules at a Glance

  • UCase only affects lowercase alphabetical letters; all other characters within value remain unaffected.

  • UCase returns Nothing if value is Nothing.

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.