strpos($post_id, 'user_')//here $post_id is array
$mystring = 'abc'; $findme = 'a'; $pos = strpos($mystring, $findme);