my $delim = '|'; my $line = "a||c|\t| |d||e"; my @fields = split(/\\$delim/, $line); # output # null fields: 0 # at field:
In reply to Re^3: identifying null fields in bar delimited records
by lupey
in thread identifying null fields in bar delimited records
by jjohhn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |