I'am looking for a syntax that will do the following:
if('String' not in $string){
//do this
}
I am also looking for away to say
if('String' in $string){
//do this
}
Can anyone help, I have googled for solutions and they seem very confusing.
Thanks, J