UPPER us = UPPER (s) Converts the string s to a upper case string us. See LCASE and LOWER for converting a string to lower case. UPPER and UCASE are equivalent. Example s = "abc" print upper(s) ' Output: ABC