See perlfunc manpages of split,join and grep for how this works, basically:$page_data = "the cow jump over the moon"; $new = join(" ", grep { length($_) > 3} split(/\s/, $page_data)); print $new;
In reply to Re: Adding to variable with sprintf()
by eXile
in thread Adding to variable with sprintf()
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |