Hello! Ok so what I am trying to do is parse a string say
fearhomefear
so anyway, I have an array with the words found in that string ( array (fear, home))
is there any way to find the all matches of each word in the string without using a memory intensive function like preg_match_all to find all occurences of a substring (so for the string "fearhomefear" i would need to find the words 'fear', 'home', and 'fear') - since the needle is not a regular expression but a plain string?