Carey Brown wrote:I'm not sure what you're after but this will give you an array of arrays.
You're better off using "+", because in this case you only want to include 1 or more spaces in the delimiter, not 0, and that can speed things up quite a bit (although "*" will also work).
Lesson: Don't use '*' in regexes unless you specifically mean '0 or more'.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here