Regardless, split takes an optional third argument which limits how many array items are returned. So put a 2 at the end of your split.
In reply to Re^2: Command Line Options without "-" or "- -"
by suaveant
in thread Command Line Options without "-" or "- -"
by Smaug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |