Returns a copy of a String expression where all of the alphabetic characters have been converted to upper case.
...UCase( string_exp )
Prerequisites
None
Parameters
string_exp
A required String expression. string_exp can be a String variable, constant, function, method or a concatenation of these String elements.
Remarks
This function evaluates a String expression, converts all of the alphabetic characters to upper case leaving all of the non-alphabetic characters unchanged, and returns the resulting String value.
Examples
Dim stg_result As String ' Create a string variable
stg_result = UCase("aBcDeF") ' stg_result set to "ABCDEF"
See Also