in reply to Re: Input validation
in thread Input validation
The line should comprise the said number of fields(in
the eg case - 4).So what I am also checking for,is the
number of fields returned on the 'split' & yeah I am
taking care of the possibility of receiving an empty
$line and/or empty field/fields. I think the two checks
1.Fields returned & 2. delimiter presence should be good
enough method to determine if the $line is fine,right?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Input validation
by ysth (Canon) on Mar 23, 2004 at 10:25 UTC |