toUpper: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Converts the supplied string to all uppercase characters. |DESCRIPTION=
| Converts the supplied Unicode string to all uppercase characters. If the string doesn't have characters with [[toArray | codes > 255]], you could benefit from faster conversion using [[toUpperANSI]] |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[hint]] toUpper("AaBb1")</code> returns "AABB1"|EXAMPLE1=
|x1= <code>[[hint]] [[toUpper]] "AaBb1"; // returns "AABB1"</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:04, 17 July 2019

-wrong parameter ("Arma") defined!-1.09
Hover & click on the images for description

Description

Description:
Converts the supplied Unicode string to all uppercase characters. If the string doesn't have characters with codes > 255, you could benefit from faster conversion using toUpperANSI
Groups:
Uncategorised

Syntax

Syntax:
toUpper string
Parameters:
string: String
Return Value:
String

Examples

Example 1:
hint toUpper "AaBb1"; // returns "AABB1"

Additional Information

See also:
toStringtoArraytoLowertoFixedtoLowerANSItoUpperANSI

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section