Re: Re: Validate_DE
| From: | Thomas Schulz | Date: | Wed, 22 Oct 2003 20:43:15 +0000 |
| Subject: | Re: Re: Validate_DE | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22916@lists.php.net to get a copy of this message | ||
Stefan Neufeind wrote in php.pear.dev:
>> > - bankcode (only format)
>>
>> This validation should also accept the usual grouped notation:
>>
>> 500 105 17
>
> Maybe just stripping whitespaces prior to validating inside the
> function would be okay? "50 01 05 17" is an uncommon way to write it -
> but would that make the number itself invalid?
Would'nt make the number invalid, but is probably a sign of an oversight.
ThS.
--
http://4bconsult.de