How can I tell the script to get a word in a phrase.
I would like to get the word "pizza" either alone or in a phrase like "I eat PIZZA"
if ($value eq "pizza") works only if the value is exactly "pizza". I must foresee something *before* and *after* the word.
Also I would like to read lowercase and uppercase in the same way.
Thanks in advance.
I would like to get the word "pizza" either alone or in a phrase like "I eat PIZZA"
if ($value eq "pizza") works only if the value is exactly "pizza". I must foresee something *before* and *after* the word.
Also I would like to read lowercase and uppercase in the same way.
Thanks in advance.