[Denver-pm] Splitting Data

Robert L. Harris robert.l.harris at gmail.com
Thu Oct 3 15:31:45 PDT 2013


$String='component1,component2,"This is my, test string", component4';

($C1, $C2, $Str, $C4) = split(',', $String);

I'm only getting "This is my" in $Str and $C4 does not contain
"component4".  Is there a graceful way of handling this?  It's a 1 in 10000
chance it'll break but accuracy counts.

-- 
:wq!
---------------------------------------------------------------------------
Robert L. Harris

DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for                      First One Should Be A Man
       no-one else.                                     - Manowar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/denver-pm/attachments/20131003/453a6ec7/attachment.html>


More information about the Denver-pm mailing list