File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Deduce vendor from tracking number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

Deduce vendor from tracking number

Michael Sullivan
Ranch Hand

Joined: Dec 26, 2003
Posts: 235
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

Joined: Jan 10, 2002
Posts: 61610
    
  67

Please do not cross post the same question in more than one forum. It wastes people's time when multiple redundant conversations take place.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deduce vendor from tracking number