toLowerANSI: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
(wrong codepage)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[File:ANSI.jpg|thumb|right|Windows-1252]]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/Windows-1252 Windows-1252] code page. For Unicode alternative see [[toLower]].<br><br>
|[[File:ANSI.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>
{{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=
{{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 13: Line 13:
| [[toLowerANSI]] string |SYNTAX=
| [[toLowerANSI]] string |SYNTAX=


|p1= string: [[String]] - ANSI string |PARAMETER1=
|p1= string: [[String]] - string to convert |PARAMETER1=


| [[String]] - all lower case string |RETURNVALUE=
| [[String]] - all lower case string |RETURNVALUE=

Revision as of 01:58, 15 July 2019

{{Command|= Comments ____________________________________________________________________________________________

| arma3dev |= Game name

|1.95|= Game version ____________________________________________________________________________________________

|[[File:ANSI.jpg|thumb|right|ISO-8859-1]Converts the supplied string to all lower case characters fast. ANSI in this case refers to ISO-8859-1 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.

|DESCRIPTION=

____________________________________________________________________________________________

| toLowerANSI string |SYNTAX=

|p1= string: String - string to convert |PARAMETER1=

| String - all lower case string |RETURNVALUE= ____________________________________________________________________________________________

|x1= hint toLowerANSI "AaBb1"; // returns "aabb1"|EXAMPLE1= ____________________________________________________________________________________________

| toLower, toString, toArray, toUpper, toFixed |SEEALSO=

}}

Notes

Bottom Section