Livecode Wiki
Advertisement

Returns a string converted to all uppercase letters.Syntax:

toUpper(<stringToConvert>)

Examples:

toUpper("AbC; dEf") -- returns "ABC; DEF"
toUpper("eclairs are VERY tasty!") -- returns "ECLAIRS ARE VERY TASTY!"

overview Use the toUpper function to change the case of a string./overview

Lowercase letters, including special characters with diacritical marks, are converted to the uppercase equivalents. All other characters, including uppercase letters, numbers, punctuation, and special characters with no upper or lower case, are left unchanged by the toUpper function.

Parameters:

  • stringToConvert (string): Any string or expression that evaluates to a string.
  • Returns: The toUpper function returns a string the same length asthe stringToConvert.

See also: toLower (function),

Advertisement