toLowerANSI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.95|= Game version ______________...")
 
(WIP)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Converts the supplied [https://stackoverflow.com/questions/701882/what-is-ansi-format/701920 ANSI string] to all lower case characters. For Unicode alternative see [[toLower]].<br>
|[[File:ANSI.jpg|thumb|right|Windows-1252]]Converts the supplied string to all lower case characters. [https://stackoverflow.com/questions/701882/what-is-ansi-format/701920 ANSI] in this case refers to [https://en.wikipedia.org/wiki/Windows-1252 Windows-1252] code page. For Unicode alternative see [[toLower]].<br><br>
{{Informative | This command is much faster than its Unicode version. For example a 100 chars string would be tolowered 2x faster than 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=
{{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=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:05, 13 July 2019

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

Description

Description:
Windows-1252
Converts the supplied string to all lower case characters. ANSI in this case refers to Windows-1252 code page. For Unicode alternative see toLower.

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.
Groups:
Uncategorised

Syntax

Syntax:
toLowerANSI string
Parameters:
string: String - ANSI string
Return Value:
String - all lower case string

Examples

Example 1:
hint toLowerANSI "AaBb1"; // returns "aabb1"

Additional Information

See also:
toStringtoArraytoUppertoFixed

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