[ticket/12771] Shanging substr to strpos

Logical change ...

PHPBB3-12771