| @@ 3664-3672 (lines=9) @@ | ||
| 3661 | * @return static |
|
| 3662 | * <p>Object with all characters of $str being lowercase.</p> |
|
| 3663 | */ |
|
| 3664 | public function toLowerCase($tryToKeepStringLength = false, $lang = null): self |
|
| 3665 | { |
|
| 3666 | return static::create( |
|
| 3667 | $this->utf8::strtolower( |
|
| 3668 | $this->str, |
|
| 3669 | $this->encoding, |
|
| 3670 | false, |
|
| 3671 | $lang, |
|
| 3672 | $tryToKeepStringLength |
|
| 3673 | ), |
|
| 3674 | $this->encoding |
|
| 3675 | ); |
|
| @@ 3796-3802 (lines=7) @@ | ||
| 3793 | * @return static |
|
| 3794 | * <p>Object with all characters of $str being uppercase.</p> |
|
| 3795 | */ |
|
| 3796 | public function toUpperCase($tryToKeepStringLength = false, $lang = null): self |
|
| 3797 | { |
|
| 3798 | return static::create( |
|
| 3799 | $this->utf8::strtoupper($this->str, $this->encoding, false, $lang, $tryToKeepStringLength), |
|
| 3800 | $this->encoding |
|
| 3801 | ); |
|
| 3802 | } |
|
| 3803 | ||
| 3804 | /** |
|
| 3805 | * Returns a string with whitespace removed from the start and end of the |
|