$_="a1: a, b, c, e";
my @tokens=split / +/;
for my $i (1..(scalar(@tokens)-1))
{
print "\"$tokens[$i]\"\n";
}
should return:
"a," "b," "c," "d," "e"
metadoktor
"The doktor is in."
In reply to Re: Eliminating leading spaces
by metadoktor
in thread Eliminating leading spaces
by chriso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |