Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Desired Output:$string = "TE=ASR,EV=R,PPF=G1,TG=G1,TMT=P1,RTV=YE,AAT=0,AT=105,ON=Y,CF +1=FGOC";
The string could have up to 40 fields.TE=ASR,EV=R,PPF=G1 TG=G1,TMT=P1,RTV=YE AAT=0,AT=105 ON=Y,CF1=FGOC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: split a string into four parts on comma
by ikegami (Patriarch) on Oct 25, 2006 at 02:27 UTC | |
|
Re: split a string into four parts on comma
by GrandFather (Saint) on Oct 25, 2006 at 02:50 UTC | |
|
Re: split a string into four parts on comma
by driver8 (Scribe) on Oct 25, 2006 at 02:29 UTC | |
by Anonymous Monk on Oct 25, 2006 at 02:43 UTC | |
by Anonymous Monk on Oct 25, 2006 at 02:36 UTC |