toUpper

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the toUpper of <stringToConvert>
toUpper(<stringToConvert>)
Synonymsupper
Summary

Returns a string converted to all uppercase letters.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
stringToConvert

Any string or expression that evaluates to a string.

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

The toUpper function returns a string the same length as the stringToConvert.

RelatedKeyword: string
Function: numToChar, toLower
Glossary: return
Control Structure: function
Description

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.

Tagstext processing