Purpose
Returns a string, converted to upper-case. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
UCase$( string_expr )
string_expr is a string expression.
Return Value
String
Description
The UCase$() function returns the string which is the upper-case equivalent of the string expression string_expr.
Conversion from lower to upper case only affects alphabetic characters (A through Z); numeric digits and punctuation marks are not affected. Thus, the function call UCase$("A#12a") returns the string value "A#12A".
Example
Dim regular, upper_case As String
regular = "Los Angeles"
upper_case = UCase$(regular)
' upper_case now contains the value "LOS ANGELES"
See Also:
LCase$() function, Proper$() function