$a = 'dog'; $b = 'doghouse'; if($a =~ /$b/){print "<p>found";} else{print "<p>not found!";}
Thank you so much.
Update: Nevermind! I figured it out. Thanks so much.
In reply to searching a string by keiusui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |