You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only a single character is supported. `character` parameters with more than one character may not work in all supported databases.
1361
1361
{{% /alert %}}
1362
1362
1363
-
{{% alert color="info" %}}
1364
-
Like with other String functions, case sensitivity of the `LOCATE` function depends on the database. See [Behavior of Case Sensitivity by Database Type](/refguide/case-sensitive-database-behavior/#behavior-of-case-sensitivity-by-database-type) for details.
1365
-
{{% /alert %}}
1363
+
If the expression string consists entirely of the character, everything will be trimmed and the function will return a zero-length string.
Only a single character is supported. `character` parameters with more than one character may not work in all supported databases.
1582
1580
{{% /alert %}}
1583
1581
1584
-
{{% alert color="info" %}}
1585
-
Like with other String functions, case sensitivity of the `LOCATE` function depends on the database. See [Behavior of Case Sensitivity by Database Type](/refguide/case-sensitive-database-behavior/#behavior-of-case-sensitivity-by-database-type) for details.
1586
-
{{% /alert %}}
1582
+
If the expression string consists entirely of the character, everything will be trimmed and the function will return a zero-length string.
1587
1583
1588
1584
#### Examples
1589
1585
@@ -1676,9 +1672,7 @@ TRIM ( expression [, character ] )
1676
1672
Only a single character is supported. `character` parameters with more than one character may not work in all supported databases.
1677
1673
{{% /alert %}}
1678
1674
1679
-
{{% alert color="info" %}}
1680
-
Like with other String functions, case sensitivity of the `LOCATE` function depends on the database. See [Behavior of Case Sensitivity by Database Type](/refguide/case-sensitive-database-behavior/#behavior-of-case-sensitivity-by-database-type) for details.
1681
-
{{% /alert %}}
1675
+
If the expression string consists entirely of the character, everything will be trimmed and the function will return a zero-length string.
0 commit comments