Answer the question
In order to leave comments, you need to log in
How to find an occurrence in a string of more than 4 letters?
Code
$str = "asas232%";
preg_match('/^[^a-z]*(?=[a-z])/i', $str);
$s = strstr($str, '/^[^a-z]*(?=[a-z])/i');
if ($s>3){echo('Great!');}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question