Example #1
0
 /**
  * Determines if a string contains a specified substring, searching case-sensitively.
  *
  * @param  string $whatString The searched substring.
  * @param  int $startPos **OPTIONAL. Default is** `0`. The starting position for the search.
  *
  * @return bool `true` if the substring was found in the string, taking into account the letter case during the
  * search, and `false` otherwise.
  */
 public function find($whatString, $startPos = 0)
 {
     return CUString::find($this, $whatString, $startPos);
 }