php 문자열에서 찾거나
$a = 'How are you?';
if (strpos($a, 'are') !== false) {
echo 'true';
}
php 바늘 건초 더미
//Find the position of the first occurrence of a substring in a string
$mystring = 'abc';
$findme = 'a';
$pos = strpos($mystring, $findme);
php 는 문자열에서 문자열 찾기
$pos = strpos("find the position of X in here", "X");