File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

Deduce vendor from tracking number

 
Michael Sullivan
Ranch Hand
Posts: 235
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm looking for some code to determine a shipping carrier (UPS, DHL, FedEx, etc) given a tracking number. This would be similar to how you'd deduce which credit card type from the credit card number.

Yes, I realize that I can just write this with some regex statements and such, but if something is already out there and includes the rules for each carrier (the most important part), I'd be thankful to just impliment it.

Thanks for any comments!

BTW, I'll post this also in the Java area too, since it need not be written in JavaScript per-se. Heck, if it's written in SQL as a stored proc, I'm cool with that!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross post the same question in more than one forum. It wastes people's time when multiple redundant conversations take place.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic