@arr=split(/ /,$test);
... and count the size of the array
$size=scalar(@arr);
if its 4, arr[2]is the OS, otherwise no OS was specified
In reply to Re^3: Reg Exp
by chrism01
in thread Reg Exp
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |