Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want to split the string, so that i have 1 Cat, 2 Dogs, 3 hamsters pushed onto an array? Thanks$string = '1 Cat 2 Dogs 3 Hamsters';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problems splitting string
by VSarkiss (Monsignor) on Dec 15, 2005 at 16:05 UTC | |
by Anonymous Monk on Dec 15, 2005 at 16:08 UTC | |
|
Re: problems splitting string
by merlyn (Sage) on Dec 15, 2005 at 17:19 UTC | |
by Tanktalus (Canon) on Dec 15, 2005 at 19:53 UTC | |
|
Re: problems splitting string
by mrborisguy (Hermit) on Dec 15, 2005 at 16:04 UTC | |
by VSarkiss (Monsignor) on Dec 15, 2005 at 16:08 UTC | |
by mrborisguy (Hermit) on Dec 15, 2005 at 16:11 UTC | |
|
Re: problems splitting string
by Hue-Bond (Priest) on Dec 15, 2005 at 16:04 UTC | |
by ikegami (Patriarch) on Dec 15, 2005 at 16:12 UTC | |
by Anonymous Monk on Dec 15, 2005 at 18:04 UTC | |
by Roy Johnson (Monsignor) on Dec 15, 2005 at 18:08 UTC |