Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $string='nick,1,2,,56,88';
my @array = split(/\,/, $string);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Proper way to split a line with the "," delimiter
by Eily (Monsignor) on Aug 17, 2018 at 15:49 UTC | |
|
Re: Proper way to split a line with the "," delimiter
by pryrt (Abbot) on Aug 17, 2018 at 15:52 UTC | |
|
Re: Proper way to split a line with the "," delimiter
by thanos1983 (Parson) on Aug 17, 2018 at 16:38 UTC | |
|
Re: Proper way to split a line with the "," delimiter
by roboticus (Chancellor) on Aug 17, 2018 at 16:13 UTC | |
by Anonymous Monk on Aug 17, 2018 at 16:19 UTC |