269 of 286
255 UCase Type Function returning String Invocation UCase(str) Parameter Method Type Description str ByVal String The string to be changed to upper case. Discussion This function returns a new string containing the same characters as the passed string except that all lower case characters will be replaced with upper case characters. Example Dim s as String, s1 as String s = "Hello, world!" s2 = UCase(s) ' the result will be "HELLO, WORLD!" See Also LCase