Exemplo n.º 1
0
 /**
  * Trims whitespaces or defined characters from the end of the string.
  *
  * @param string $charList The characters to trim.
  *
  * @return String The string trimmed.
  */
 public function trimRight($charList = null)
 {
     return new static(static::$helper->trimRight($this->string, $charList));
 }