I've seen but can't find or recall a post in this thread where someone parsed a string into an array using a regular expression to define the delimiter. I need to do something similar and would be grateful for an example or a pointer to a decent reference resource.
In perl-speak, I would
[tt] my @array = split( /regex/, $string );[/tt]
Yours,
"As soon as we started programming, we found to our surprise that it wasn't as
easy to get programs right as we had thought. Debugging had to be discovered.
I can remember the exact instant when I realized that a large part of my life
from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilk
In perl-speak, I would
[tt] my @array = split( /regex/, $string );[/tt]
Yours,
"As soon as we started programming, we found to our surprise that it wasn't as
easy to get programs right as we had thought. Debugging had to be discovered.
I can remember the exact instant when I realized that a large part of my life
from then on was going to be spent in finding mistakes in my own programs."
--Maurice Wilk