hi
I need to find out how to find something in a string.
eg.
$fred = "cheese bill green"
If "cheese" is in $fred then do something..
basicly, the InStr function on Visual Basic.
thanks guys
Printable View
hi
I need to find out how to find something in a string.
eg.
$fred = "cheese bill green"
If "cheese" is in $fred then do something..
basicly, the InStr function on Visual Basic.
thanks guys
thanks to all you who helped me find out
function : strstr
strstr() is case-sensitive, use stristr() for case-insensitive