$array1[$k] =~ s/^\s+//; $array1[$k] =~ s/\s+$//; $array2[$l] =~ s/^\s+//; $array2[$l] =~ s/\s+$//;
You would receive more specific help if you posted complete, running code that we could reproduce, along with your exact output and your exact desired output.
In reply to Re: compare 2 arrays of strings
by toolic
in thread compare 2 arrays of strings
by sharan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |