strpos

function call:
string strpos( string $haystack, mixed $needle [, int $offset] )

description:
Returns the numeric position of the first occurrence of $needle in the $haystack string. Unlike the strrpos() before PHP 5, this function can take a full string as the $needle parameter and the entire string will be used.

test strpos online:
$haystack

$needle

$offset


Werbung
Information
PHP-Version: 5.2.6
Last changes: my blog (german only)
Change language: strpos auf Deutsch online testen