Nevermind. I used regex to accomplish what I wanted instead of the split 
command. Thanks guys!

From: Danny H Wong <dannw...@cisco.com<mailto:dannw...@cisco.com>>
Date: Thursday, March 19, 2015 at 2:25 PM
To: Perl List <beginners@perl.org<mailto:beginners@perl.org>>, Perl Beginners 
<beginners@perl.org<mailto:beginners@perl.org>>
Subject: split regex

Hi Perl GURU,
I have a string like this:

'Baseline: (_bMgvUBQ_EeKsP6DECdq0Lg) 1 "Initial Baseline" "Initial Baseline of 
Component NGP-Diagnostics" Sivakumar Subas Oct 12, 2012 12:35:41 AM';

I’m trying to perform a split via \s (spaces) delimiter, but this give me a 
partial return of "Initial Baseline” (returns Initial). Is there a regex where 
I can split using space as the delimiter, but get all the words inside a quote 
string?

Reply via email to