We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 177bc14 commit d49b25eCopy full SHA for d49b25e
docs/en/sql-reference/20-sql-functions/06-string-functions/rtrim.md
@@ -0,0 +1,26 @@
1
+---
2
+title: RTRIM
3
4
+import FunctionDescription from '@site/src/components/FunctionDescription';
5
+
6
+<FunctionDescription description="Introduced or updated: v1.2.659"/>
7
8
+Removes specific characters from the end (right side) of a string.
9
10
+## Syntax
11
12
+```sql
13
+RTRIM(<string>, <trim_character>)
14
+```
15
16
+## Examples
17
18
19
+SELECT RTRIM('databendxx', 'xx');
20
21
+┌───────────────────────────┐
22
+│ rtrim('databendxx', 'xx') │
23
+├───────────────────────────┤
24
+│ databend │
25
+└───────────────────────────┘
26
0 commit comments