find string contain spacific charactor or not in php

PHP
$mystring = 'abc';
$findme   = 'a';
$pos = strpos($mystring, $findme);
Source

Also in PHP: