Búsqueda de perl si la variable contiene palabras
if (index($str, $substr) != -1) {
print "$str contains $substr\n";
}
Prickly Panther
if (index($str, $substr) != -1) {
print "$str contains $substr\n";
}