toUpperANSI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 16: | Line 16: | ||
|x1= <code>[[hint]] [[toUpperANSI]] "AaBb1"; // returns "AABB1"</code> | |x1= <code>[[hint]] [[toUpperANSI]] "AaBb1"; // returns "AABB1"</code> | ||
|seealso= [[toLowerANSI]] [[toLower]] [[toString]] [[toArray]] [[toUpper]] | |seealso= [[toLowerANSI]] [[toLower]] [[toString]] [[toArray]] [[toUpper]] [[toFixed]] | ||
}} | }} |
Revision as of 20:54, 20 January 2022
Description
- Description:
- Converts the supplied string to all upper case characters fast (could be 3x faster than toUpper). ANSI in this case refers to ISO-8859-1 code page. The command is primary designed to convert characters with 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.
- Groups:
- Strings
Syntax
- Syntax:
- toUpperANSI string
- Parameters:
- string: String - string to convert
- Return Value:
- String - all upper case string
Examples
- Example 1:
hint toUpperANSI "AaBb1"; // returns "AABB1"
Additional Information
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