// We can search for the character, ignoring anything before the offset
$newstring
=
'abcdef abcdef'
;
$pos
strpos
(
,
'a'
1
);
// $pos = 7, not 0
No comments:
Post a Comment