Difference between revisions of "toLowerANSI"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
(description, see also)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|[[File:ISO-8859-1.jpg|thumb|right|ISO-8859-1]]Converts the supplied string to all lower case characters fast. [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. For Unicode alternative see [[toLower]].<br><br>
+
|[[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=
{{Informative | This command is much faster than its Unicode alternative. For example a 100 chars string would be tolowered 2x faster than when using [[toLower]], and 500 chars string - 3x faster, etc. In most cases you probably won't need Unicode version, but historically it was the only version available until now.}} |DESCRIPTION=
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 21: Line 20:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[toLower]], [[toString]], [[toArray]], [[toUpper]], [[toFixed]] |SEEALSO=
+
| [[toUpperANSI]], [[toLower]], [[toString]], [[toArray]], [[toUpper]], [[toFixed]] |SEEALSO=
  
 
}}
 
}}

Revision as of 19:56, 17 July 2019

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.95|1.95]]
Hover & click on the images for description

Description

Description:
ISO-8859-1
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:
Uncategorised

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

See also:
toUpperANSItoLowertoStringtoArraytoUppertoFixed

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

[[Category:Introduced with arma3dev version 1.95]][[ Category: arma3dev: New Scripting Commands | TOLOWERANSI]][[ Category: arma3dev: Scripting Commands | TOLOWERANSI]]

Notes

Bottom Section