Skip to content

Commit ec9dfa0

Browse files
committed
Add information about trimming everything and remove misleading case sensitivity information
1 parent c69e853 commit ec9dfa0

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

content/en/docs/refguide/modeling/domain-model/oql/oql-expression-syntax.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,9 +1360,7 @@ LTRIM ( expression [, character ] )
13601360
Only a single character is supported. `character` parameters with more than one character may not work in all supported databases.
13611361
{{% /alert %}}
13621362

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.
13661364

13671365
#### Examples
13681366

@@ -1581,9 +1579,7 @@ RTRIM ( expression [, character ] )
15811579
Only a single character is supported. `character` parameters with more than one character may not work in all supported databases.
15821580
{{% /alert %}}
15831581

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.
15871583

15881584
#### Examples
15891585

@@ -1676,9 +1672,7 @@ TRIM ( expression [, character ] )
16761672
Only a single character is supported. `character` parameters with more than one character may not work in all supported databases.
16771673
{{% /alert %}}
16781674

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.
16821676

16831677
#### Examples
16841678

0 commit comments

Comments
 (0)