in reply to Getting Data from Between Two Commas
Regardless of whether you split on commas or on $string, there's a potential for trouble if $string appears between a pair of commas, but I think that splitting on $string is more likely to do the Right Thing. (Can't say for sure, though, as the correct behaviour in this case isn't clearly defined in the original question.)
|
|---|