<div dir="ltr">It depends. The characters in serial numbers sometimes have a meaning - O could mean an item was assembled on production line O, etc. so you might have to change that logic a bit. Assuming that the characters are all meaningless, you'd still have a bit of work to do if you want the alphanumeric text to increment while excluding certain characters.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 10, 2016 at 6:34 AM, Leam Hall <span dir="ltr"><<a href="mailto:leamhall@gmail.com" target="_blank">leamhall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1, and lower case "ell". Depending on the font, uppercase "D" is often suspect on printed labels.<div class="HOEnZb"><div class="h5"><br>
<br>
On 02/09/16 23:18, DJ-Pfulio wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1 line of code. B and 8 should be avoided as well as S and 5 too.<br>
<br>
On 02/09/16 20:45, Pete Hardie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It's not a programmer failure - it's a requirements failure. Some<br>
marketeer or architect failed to specify<br>
"Serial number will not include letters I and O"<br>
<br>
<br>
On Tue, Feb 9, 2016 at 8:32 PM, Sean Kilpatrick <<a href="mailto:kilpatms@gmail.com" target="_blank">kilpatms@gmail.com</a><br>
<mailto:<a href="mailto:kilpatms@gmail.com" target="_blank">kilpatms@gmail.com</a>>> wrote:<br>
<br>
I know nothing of modern languages; I stopped learning how to program<br>
at Cobol, Algol, and Fortran.<br>
But I have a question spinning off this serial number: F9IANU000217.<br>
<br>
Given that only a few lines of code should be necessary to create serial<br>
numbers, how much more code would be needed to exclude upper case "I"<br>
and "O"?<br>
<br>
This is the first time I have ever seen an upper case "I" used in a<br>
serial number. The type face used for this serial number made it<br>
difficult to see that the third character was an "I" and not a "1".<br>
I have seen an upper case "O" used however, and that is even more<br>
stupid.<br>
<br>
For the record, the serial number above identifies an electronic device<br>
manufactured by a well-known company. It didn't work out of the box,<br>
and after an hour with tech support I was told to return it as<br>
defective.<br>
<br>
Which I will do.<br>
<br>
</blockquote>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
</blockquote>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br></div>