This printed the entire string. I used the $' function, but it took too much data. How do I limit it?$String = "hello I went to the store yesterday and the day after and +the day after"; if ($String =~ /yesterday/i) { until ($String =~ /after/i) { print "Summary: $'" } }
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |