Here's what I'm running:
echo $checknetworks;
Here's the results of the echo
:
Facebook,Twitter,Myspace,Google,Instagram,Pinterest
What I want to do is check to see if the string google
is in the results above. I do not want it to be case sensitive because the capitalization changes from time to time.
Basically if google
exists in the string, I want to display "FOUND". If it doesn't exist, I want to display "NOT FOUND".
I came across a couple of somewhat similar questions here but none seemed to take capitalization into account.