I want to check is long string contains an element from samples, I mean I have a long string
Lorem ipsum dolor 123 SAMPLE sit amet, consectetur.
and in config i have
$samples = array("# SAMPLE","SAMPLE #")
and function should return that on position 19
there is 123 SAMPLE
from # SAMPLE