On Apr 27, 2007, at 3:10 PM, anansi wrote: > James Edward Gray II wrote: >> On Apr 27, 2007, at 12:58 PM, Matthew Moss wrote: >>> So is a card number like "4012 3456 7890" a valid Unknown, or an >>> invalid Visa? >> Visa Invalid >> Always match the type first. > > Nope thats no Visa number but a unknown one. Visa Cards have a > certain length (13 or 16) and if that length doesn't fit (Matthew's > number here had just 12 digits)it's unknown :) otherwise the length > would be obsolete don't you think? > Both length and startingbytes have equal weight in the decision > wether a card belongs to a known Company or not. You are right. I didn't read well. It's Unknown. James Edward Gray II