← ltrim operator page · string/ltrim/sc/leading_removed_trailing_kept
pandas ✅ · DuckDB ✅
ltrim 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 trailing spaces are kept.
SC_r := ltrim(" Hello ");
{
"scalars": [
{"name": "SC_r", "type": "String", "value": "Hello "}
]
}