Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I split this string to get only the printer name (e.g. first word, skip the next two, next word, skip the next two) into an array? Thanks$VAR1 = 'Printer1 Printer Printer 1 Printer2 Printer Printer 2 Store Printer Store printer ';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Split string into array
by Tux (Canon) on Dec 14, 2011 at 14:54 UTC | |
by Anonymous Monk on Dec 14, 2011 at 15:01 UTC | |
|
Re: Split string into array
by moritz (Cardinal) on Dec 14, 2011 at 14:53 UTC |