@@ 3655-3663 (lines=9) @@ | ||
3652 | * @return static |
|
3653 | * <p>Object with all characters of $str being lowercase.</p> |
|
3654 | */ |
|
3655 | public function toLowerCase($tryToKeepStringLength = false, $lang = null): self |
|
3656 | { |
|
3657 | return static::create( |
|
3658 | $this->utf8::strtolower( |
|
3659 | $this->str, |
|
3660 | $this->encoding, |
|
3661 | false, |
|
3662 | $lang, |
|
3663 | $tryToKeepStringLength |
|
3664 | ), |
|
3665 | $this->encoding |
|
3666 | ); |
|
@@ 3787-3793 (lines=7) @@ | ||
3784 | * @return static |
|
3785 | * <p>Object with all characters of $str being uppercase.</p> |
|
3786 | */ |
|
3787 | public function toUpperCase($tryToKeepStringLength = false, $lang = null): self |
|
3788 | { |
|
3789 | return static::create( |
|
3790 | $this->utf8::strtoupper($this->str, $this->encoding, false, $lang, $tryToKeepStringLength), |
|
3791 | $this->encoding |
|
3792 | ); |
|
3793 | } |
|
3794 | ||
3795 | /** |
|
3796 | * Returns a string with whitespace removed from the start and end of the |