JString::strpos
UTF-8 aware alternative to strpos.
Find position of first occurrence of a string.
Signature
public function strpos(string
$str,
[string
$search = false,
[integer
$offset = false]] )
Parameters
-
$str
- String being examined
-
$search
- String being searched for
-
$offset
- Optional, specifies the position from which the search should be performed
Returns
- mixed
- Number of characters before the first match or FALSE on failure