---
title: "concat function in Strata | Oplema"
description: "Join text values or lists into one value, such as a first and a last name. For example, concat('Hello', ' ', 'World') returns 'Hello World'."
url: "https://oplema.com/docs/strata/functions/concat"
updated: "2026-11-04"
---

# concat

Join text values or lists into one value. Missing values are skipped, while the || operator returns a missing value if any input is missing.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **VARCHAR**.

### Expression

```
concat('Hello', ' ', 'World')
```

### Result

```
'Hello World'
```

To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | Hello World |

## Arguments and types

```
concat(value, ...)
```

**value**

Any value

Supported signatures (1)

```
concat(value: ANY, ...: ANY) → ANY
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

### With a missing first argument

```
concat(NULL::VARCHAR, ' ', 'World')
```

' World'

## Related functions

[concat\_ws

Join text values with a separator between them. Missing values are skipped.

](https://oplema.com/docs/strata/functions/concat-ws)[string\_split

Split text at a separator and return the parts as a list.

](https://oplema.com/docs/strata/functions/string-split)[replace

Replace every occurrence of one piece of text with another.

](https://oplema.com/docs/strata/functions/replace)[trim

Remove spaces from both ends of text. Pass a second argument to remove those characters instead.

](https://oplema.com/docs/strata/functions/trim)

[Browse text](https://oplema.com/docs/strata/functions#text) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/text.html#concatvalue)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
