JString::stristr
UTF-8 aware alternative to stristr Returns all of haystack from the first occurrence of needle to the end.
needle and haystack are examined in a case-insensitive manner Find first occurrence of a string using case insensitive comparison
Signature
public function stristr(string
$str,
string
$search )
Parameters
-
$str
- The haystack
-
$search
- The needle
Returns
- string
- the sub string