toLowerANSI

From Bohemia Interactive Community
Revision as of 23:45, 16 June 2021 by Lou Montana (talk | contribs) (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
Jump to navigation Jump to search
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:
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

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