예제 #1
0
 /**
  * Determines if a string ends with a specified substring, searching case-sensitively.
  *
  * As a special case, the method returns `true` if the searched substring is empty.
  *
  * @param  string $withString The searched substring.
  *
  * @return bool `true` if the string ends with the substring specified, taking into account the letter case of the
  * characters, and `false` otherwise.
  */
 public function endsWith($withString)
 {
     return CUString::endsWith($this, $withString);
 }