← rtrim operator page · string/rtrim/sc/trailing_removed_leading_kept
pandas ✅ · DuckDB ✅
rtrim of a string with two spaces at each end.
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(" Hello ");
{
"scalars": [
{"name": "SC_r", "type": "String", "value": " Hello"}
]
}