morrySnow commented on code in PR #1851: URL: https://github.com/apache/doris-website/pull/1851#discussion_r1920445878
########## docs/sql-manual/sql-functions/scalar-functions/string-functions/trim-in.md: ########## @@ -27,32 +27,52 @@ under the License. ## Description +When there is no `rhs` parameter, this function removes the leading and trailing spaces from the `str` string. When the `rhs` parameter is provided, it removes any characters from both ends of the string that are found in the `rhs` character set (order does not matter). ## Syntax -`VARCHAR trim_in(VARCHAR str[, VARCHAR rhs])` +```sql +TRIM_IN( <str> [ , <rhs>]) +``` +## Required Parameters + +| Parameters | Description | +|------|------| +| `str` | Delete spaces at both ends of the string | Review Comment: ```suggestion | `<str>` | Delete spaces at both ends of the string | ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org