I believe this is the most efficient method of finding the last word in the string.my $str = "this is a string"; print $str =~ m/\w+$/g;
In reply to Re: How can you split inside pop?
by Roger
in thread How can you split inside pop?
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |