## TO_STRING

The `TO_STRING` function in ES|QL is used to convert an input value into a string. The input can be a single or multi-valued column or an expression.

### Examples

Here are a couple of examples of how you can use the `TO_STRING` function in your ES|QL queries:

```esql
ROW a=10
| EVAL j = TO_STRING(a)
```

In this example, the function is used to convert the numeric value `10` into a string.

```esql
ROW a=[10, 9, 8]
| EVAL j = TO_STRING(a)
```

In this example, the function is used to convert the values in a multi-valued field into strings.