← concat operator page · string/concat/sc_sc/two_strings
pandas ✅ · DuckDB ✅
the concatenation of two input scalars, SC_1 || SC_2 with SC_1 = Hello and SC_2 = , World.
String concatenation: "Concatenates two strings. For example, "Hello" || ", World" gives "Hello, World"."
SC_r is Hello, World, a String.
SC_r := SC_1 || SC_2;
| SC_1 | SC_2 |
|---|---|
| Hello | , World |
{
"scalars": [
{"name": "SC_1", "type": "String"},
{"name": "SC_2", "type": "String"}
]
}
{
"scalars": [
{"name": "SC_r", "type": "String", "value": "Hello, World"}
]
}