PHP문자열strpos

strpos문자열

처음 나타나는 위치를 반환합니다.

문법

strpos(string $haystack, string $needle, int $offset = 0): int|false