---
name: "toLowerANSI"
type: command
status: ok
groups: ["Strings"]
arma3_since: "1.96"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/toLowerANSI
revid: 339603
updated: 2023-04-28T14:11:50Z
---

# toLowerANSI

*Command · Strings · Arma 3 v1.96*

## Description

Converts the supplied string to all lower case characters fast (could be 3× faster than [toLower](../commands/toLower.md)).
[ANSI](https://stackoverflow.com/questions/701882/what-is-ansi-format/701920) in this case refers to [ISO-8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) code page.
The command is primary designed to convert characters with [codes](../commands/toArray.md) 0...127 however it 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](../commands/toLower.md).

## Syntax

```sqf
toLowerANSI string
```

**Parameters:**

- `string`: [String](../topics/String.md) - string to convert

**Returns:** [String](../topics/String.md) - all lower case string

## Examples

### Example 1

```sqf
hint toLowerANSI "AaBb1"; // returns "aabb1"
```

## See also

[toUpperANSI](../commands/toUpperANSI.md) · [toLower](../commands/toLower.md) · [toString](../commands/toString.md) · [toArray](../commands/toArray.md) · [toUpper](../commands/toUpper.md) · [toFixed](../commands/toFixed.md)

<sub>Source: [BI Community Wiki — toLowerANSI](https://community.bistudio.com/wiki/toLowerANSI) (revision 339603).</sub>
