Skip to content

Commit 193d197

Browse files
committed
Added Unicode-specific precisions.
1 parent 3472919 commit 193d197

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jep-014-string-functions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Contrary to similar functions found in most popular programming languages, the `
6868
```
6969
string lower(string $subject)
7070
```
71-
Returns the lowercase `$subject` string.
71+
Returns the lowercase `$subject` string using Unicode default casing conversion specification.
7272

7373
### Examples
7474

@@ -184,7 +184,7 @@ string trim(string $subject[, string $chars])
184184
```
185185
Given the `$subject` string, `trim()` removes the leading and trailing characters found in `$chars`.
186186

187-
The `$chars` optional string parameter represents a set of characters to be removed. If this parameter is not specified, or is an empty string, whitespace characters are removed from the `$subject` string.
187+
The `$chars` optional string parameter represents a set of characters to be removed. If this parameter is not specified, or is an empty string, whitespace characters are removed from the `$subject` string. Whitespace characters are defined by Unicode as having property.
188188

189189
### Examples
190190

@@ -241,7 +241,7 @@ Like for the `trim()` and `trim_left()` functions, the `$chars` optional string
241241
```
242242
string upper(string $subject)
243243
```
244-
Returns the uppercase `$subject` string.
244+
Returns the uppercase `$subject` string using Unicode default casing conversion specification.
245245

246246
| Given | Expression | Result
247247
|---|---|---

0 commit comments

Comments
 (0)