|
strposFind the position of the first occurrence of a substring in a string Description
mixed strpos
( string
$haystack
, mixed $needle
[, int $offset = 0
] )
Find the numeric position of the first occurrence of
Parameters
Return Values
Returns the position of where the needle exists relative to the beginning of
the
Returns Warning
This function may
return Boolean Changelog
Examples
Example #1 Using ===
<?php Example #2 Using !==
<?php Example #3 Using an offset
<?php Notes
See Also
|