tuby has asked for the wisdom of the Perl Monks concerning the following question:
my $text="ABCDE<\/Text>TUVWX"; my @splitted=[]; @splitted=split("\<\/Text\>".$text); print "0.".$splitted[0]."\n"; print "1.".$splitted[1]."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with split
by Corion (Patriarch) on Jun 01, 2018 at 09:04 UTC | |
by tuby (Novice) on Jun 01, 2018 at 09:08 UTC | |
|
Re: Problem with split
by dave_the_m (Monsignor) on Jun 01, 2018 at 09:07 UTC | |
|
Re: Problem with split
by LanX (Saint) on Jun 01, 2018 at 09:08 UTC | |
|
Re: Problem with split
by tuby (Novice) on Jun 01, 2018 at 09:07 UTC | |
by Anonymous Monk on Jun 01, 2018 at 10:08 UTC | |
by tuby (Novice) on Jun 01, 2018 at 10:53 UTC | |
by Anonymous Monk on Jun 01, 2018 at 19:14 UTC | |
|
Re: Problem with split
by tuby (Novice) on Jun 01, 2018 at 08:58 UTC |