toUpperANSI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\[https?\:\/\/en\.wikipedia\.org\/wiki\/([^ ]+) (.+)\]" to "{{Wikipedia|$1|$2}}")
Line 7: Line 7:
|gr1= Strings
|gr1= Strings


|[[File:ISO-8859-1.jpg|thumb|right|ISO-8859-1]]Converts the supplied string to all upper case characters fast (could be 3x faster than [[toUpper]]). [https://stackoverflow.com/questions/701882/what-is-ansi-format/701920 ANSI] in this case refers to [https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ISO-8859-1] code page. The command is primary designed to convert characters with [[toArray | codes]] 0...127 however will also convert other characters in 128...255 range as long as they are present in ISO-8859-1 codepage. For Unicode alternative see [[toUpper]].
|[[File:ISO-8859-1.jpg|thumb|right|ISO-8859-1]]Converts the supplied string to all upper case characters fast (could be 3x faster than [[toUpper]]). [https://stackoverflow.com/questions/701882/what-is-ansi-format/701920 ANSI] in this case refers to {{Wikipedia|ISO/IEC_8859-1|ISO-8859-1}} code page. The command is primary designed to convert characters with [[toArray | codes]] 0...127 however will also convert other characters in 128...255 range as long as they are present in ISO-8859-1 codepage. For Unicode alternative see [[toUpper]].


| [[toUpperANSI]] string
| [[toUpperANSI]] string

Revision as of 16:54, 30 May 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Strings

Syntax

Syntax:
Syntax needed
Parameters:
string: String - string to convert
Return Value:
Return value needed

Examples

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

Additional Information

See also:
toLowerANSItoLowertoStringtoArraytoUppertoFixed

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