Skip to content

Commit

Permalink
[CALCITE-6487] TRIM function documentation refers to string1 two times
Browse files Browse the repository at this point in the history
  • Loading branch information
timgrein authored and mihaibudiu committed Jul 19, 2024
1 parent 82a3219 commit f44ed0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/_docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ comp:
| LOWER(string) | Returns a character string converted to lower case
| POSITION(substring IN string) | Returns the position of the first occurrence of *substring* in *string*
| POSITION(substring IN string FROM integer) | Returns the position of the first occurrence of *substring* in *string* starting at a given point (not standard SQL)
| TRIM( { BOTH | LEADING | TRAILING } string1 FROM string2) | Removes the longest string containing only the characters in *string1* from the start/end/both ends of *string1*
| TRIM( { BOTH | LEADING | TRAILING } string1 FROM string2) | Removes the longest string containing only the characters in *string1* from the start/end/both ends of *string2*
| OVERLAY(string1 PLACING string2 FROM integer [ FOR integer2 ]) | Replaces a substring of *string1* with *string2*
| SUBSTRING(string FROM integer) | Returns a substring of a character string starting at a given point
| SUBSTRING(string FROM integer FOR integer) | Returns a substring of a character string starting at a given point with a given length
Expand Down

0 comments on commit f44ed0a

Please sign in to comment.