Just for grins:
Creates this output:#!/usr/bin/perl my $foo="|abcxyz||fiuhs|"; for (split(/\|/,$foo)) { print "field is [$_]\n"; }
field is [] field is [abcxyz] field is [] field is [fiuhs]
Which seems reasonable to me...
In reply to Re: Split function
by kschwab
in thread Split function
by nala45
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |