Angharad has asked for the wisdom of the Perl Monks concerning the following question:
Hi there. This is a question for a friend rather than myself. I cant think of anyway around it, other than modify the file so to put a space between each one and split on that but anyway.
If one has the following info in a text file
How might one split is so for example you extract "foo1", .. including the ',' in the variable? Splitting in the ',' removes it of course from the equation. Thanks."foo1","foo2","foo3","foo4","foo5","foo6","foo7","foo8","foo9"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: another split question
by ysth (Canon) on Sep 05, 2005 at 12:46 UTC | |
Re: another split question
by TomDLux (Vicar) on Sep 05, 2005 at 14:45 UTC | |
Re: another split question
by Anonymous Monk on Sep 05, 2005 at 12:28 UTC | |
by blazar (Canon) on Sep 05, 2005 at 13:24 UTC | |
by polettix (Vicar) on Sep 05, 2005 at 12:45 UTC | |
Re: another split question
by sh1tn (Priest) on Sep 05, 2005 at 22:55 UTC | |
Re: another split question
by Roger (Parson) on Sep 05, 2005 at 12:34 UTC |
Back to
Seekers of Perl Wisdom