in reply to Re: Can split split against more than one character in a string of the same character?
in thread Can split split against more than one character in a string of the same character?

I had an inkling that split could do this, but was approaching it from too complicated a place. Starting to get the feeling I should have perldoc -f split now.

This is a clean and efficient way of doing this with match though, thanks

I like the simplicity of the test structure, allowing for documenting attempts. That's really great.

  • Comment on Re^2: Can split split against more than one character in a string of the same character?
  • Download Code