> ## Documentation Index
> Fetch the complete documentation index at: https://docs.metrics-man.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Concat

# \$concat

The `$concat` operator concatenates multiple strings into a single string.

## Input

* An array of string values to concatenate

## Output

* A single string containing all input strings joined together in order

## Examples

### Basic Concatenation

```json theme={null}
{
  "$concat": [
    "Hello",
    " ",
    "World",
    "!"
  ]
}
```

Result: `"Hello World!"`

### Field Values

```json theme={null}
{
  "$concat": [
    {
      "$input": "first_name"
    },
    " ",
    {
      "$input": "last_name"
    }
  ]
}
```

Result: The first\_name and last\_name fields joined with a space
