in reply to
Split words
Another way to do it:
join("\n",split(/(monks)/,$string));
Sorry if my advice was wrong.
Comment on
Re: Split words
Download
Code
In Section
Seekers of Perl Wisdom