@@ 3474-3482 (lines=9) @@ | ||
3471 | * @return static |
|
3472 | * <p>Object with all characters of $str being lowercase.</p> |
|
3473 | */ |
|
3474 | public function toLowerCase($tryToKeepStringLength = false, $lang = null): self |
|
3475 | { |
|
3476 | return static::create( |
|
3477 | $this->utf8::strtolower( |
|
3478 | $this->str, |
|
3479 | $this->encoding, |
|
3480 | false, |
|
3481 | $lang, |
|
3482 | $tryToKeepStringLength |
|
3483 | ), |
|
3484 | $this->encoding |
|
3485 | ); |
|
@@ 3606-3612 (lines=7) @@ | ||
3603 | * @return static |
|
3604 | * <p>Object with all characters of $str being uppercase.</p> |
|
3605 | */ |
|
3606 | public function toUpperCase($tryToKeepStringLength = false, $lang = null): self |
|
3607 | { |
|
3608 | return static::create( |
|
3609 | $this->utf8::strtoupper($this->str, $this->encoding, false, $lang, $tryToKeepStringLength), |
|
3610 | $this->encoding |
|
3611 | ); |
|
3612 | } |
|
3613 | ||
3614 | /** |
|
3615 | * Returns a string with whitespace removed from the start and end of the |