in reply to
Split at multiple delimiters and get the delimiter
Your question has been answered; however, I suggest using a character class rather than alternating single characters:
split /([:%;])/
.
Comment on
Re: Split at multiple delimiters and get the delimiter
Download
Code
In Section
Seekers of Perl Wisdom