← rtrim operator page · string/rtrim/sc/padded_input_value
pandas ✅ · DuckDB ✅
rtrim(SC_1) with the input scalar SC_1 = " Hello ", two spaces at each end, quoted in the CSV so that they are kept.
Whitespace removal: "Removes trailing or/and leading whitespace from a string."
SC_r is " Hello", a String: the two leading spaces are kept.
SC_r := rtrim(SC_1);
| SC_1 |
|---|
| Hello |
{
"scalars": [
{
"name": "SC_1",
"type": "String"
}
]
}
{
"scalars": [
{"name": "SC_r", "type": "String", "value": " Hello"}
]
}