# string.map()

Iterates over every entry of the string and calls the closure function to work on the element of the string.

**Introduced:** 6.0.0.105

```
string.map( closure=function )
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| closure | function | No | Closure or a function reference that will be called for each of the iteration. *Alias: callback* |  |

# Examples

*There are currently no examples for this function*

# Categories

[Strings](../../../categories/string.md)

# See Also

[StringMap()](../../functions/stringmap.md), [String](../string.md)