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 6554d5d commit 177bc14Copy full SHA for 177bc14
docs/en/sql-reference/20-sql-functions/06-string-functions/ltrim.md
@@ -0,0 +1,26 @@
1
+---
2
+title: LTRIM
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 beginning (left side) of a string.
9
10
+## Syntax
11
12
+```sql
13
+LTRIM(<string>, <trim_character>)
14
+```
15
16
+## Examples
17
18
19
+SELECT LTRIM('xxdatabend', 'xx');
20
21
+┌───────────────────────────┐
22
+│ ltrim('xxdatabend', 'xx') │
23
+├───────────────────────────┤
24
+│ databend │
25
+└───────────────────────────┘
26
0 commit comments