Come to think of it, we can make it even smaller if we use regex... "12345L10" is easily broken apart into its three components.  The only kicker is that it'll be a smidgeon slower... think the hit even matters given all the DB queries around it?