toLowerANSI: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.96 | |1.96 | ||
|gr1= Strings | |gr1= Strings | ||
|[[File:ISO-8859-1.jpg|thumb|right|ISO-8859-1]]Converts the supplied string to all lower case characters fast (could be 3x faster than [[toLower]]). [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 [[toLower]]. | |[[File:ISO-8859-1.jpg|thumb|right|ISO-8859-1]]Converts the supplied string to all lower case characters fast (could be 3x faster than [[toLower]]). [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 [[toLower]]. | ||
| [[toLowerANSI]] string | | [[toLowerANSI]] string | ||
|p1= string: [[String]] - string to convert | |p1= string: [[String]] - string to convert | ||
| [[String]] - all lower case string | | [[String]] - all lower case string | ||
|x1= <code>[[hint]] [[toLowerANSI]] "AaBb1"; // returns "aabb1"</code> | |x1= <code>[[hint]] [[toLowerANSI]] "AaBb1"; // returns "aabb1"</code> | ||
| [[toUpperANSI]], [[toLower]], [[toString]], [[toArray]], [[toUpper]], [[toFixed]] | | [[toUpperANSI]], [[toLower]], [[toString]], [[toArray]], [[toUpper]], [[toFixed]] | ||
}} | }} |
Revision as of 11:27, 18 January 2021
Description
- Description:
- Converts the supplied string to all lower case characters fast (could be 3x faster than toLower). 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 toLower.
- Groups:
- Strings
Syntax
- Syntax:
- toLowerANSI string
- Parameters:
- string: String - string to convert
- Return Value:
- String - all lower case string
Examples
- Example 1:
hint toLowerANSI "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