Hello.
I just want to double check with those PHP experts out there in terms of using the . to find out whether a string "contains" some string.
I did read the following web page:
http://us4.php.net/...age.operators.string
I am using the following codes in one of my PHP scripts:
It seems to do what I want, but not sure if that's the most efficient method of finding out whether a string contains some text.
Thanks in advance.
========================================
Buh Bye!
Cheers,
Me
I just want to double check with those PHP experts out there in terms of using the . to find out whether a string "contains" some string.
I did read the following web page:
http://us4.php.net/...age.operators.string
I am using the following codes in one of my PHP scripts:
Code:
if ($destination . "sometext") {It seems to do what I want, but not sure if that's the most efficient method of finding out whether a string contains some text.
Thanks in advance.
========================================
Buh Bye!
Cheers,
Me