예제 #1
0
 /**
  * Determines if a string starts 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 starts with the substring specified, taking into account the letter case of
  * the characters, and `false` otherwise.
  */
 public function startsWith($withString)
 {
     return CUString::startsWith($this, $withString);
 }