toLowerANSI: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Strings |GROUP1= | |gr1= Strings |GROUP1= | ||
|[[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]].|DESCRIPTION= | |[[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]].|DESCRIPTION= | ||
| [[toLowerANSI]] string |SYNTAX= | | [[toLowerANSI]] string |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[String]] - all lower case string |RETURNVALUE= | | [[String]] - all lower case string |RETURNVALUE= | ||
|x1= <code>[[hint]] [[toLowerANSI]] "AaBb1"; // returns "aabb1"</code>|EXAMPLE1= | |x1= <code>[[hint]] [[toLowerANSI]] "AaBb1"; // returns "aabb1"</code>|EXAMPLE1= | ||
| [[toUpperANSI]], [[toLower]], [[toString]], [[toArray]], [[toUpper]], [[toFixed]] |SEEALSO= | | [[toUpperANSI]], [[toLower]], [[toString]], [[toArray]], [[toUpper]], [[toFixed]] |SEEALSO= |
Revision as of 03:57, 17 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