my $valstring = join("|", @valarray); my @elems; push @elems, substr($valstring, 0, 100, "") while length $valstring;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Strange substr Problem
by merlyn
in thread Strange substr Problem
by c0bra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |