new function add_codabar_checkdigit
authorGalen Charlton <gmc@esilibrary.com>
Fri, 29 Jan 2010 15:42:45 +0000 (15:42 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 29 Jan 2010 15:42:45 +0000 (15:42 +0000)
commit66ed58dfa04e14f5a74b4e28b103b31517c6851e
treee36ed92768e1b9adf480d39dd09923d88b4c51b5
parentbbc5f8afa530f385f185e089d87749a5ad0b9c3c
new function add_codabar_checkdigit

-- add_codabar_checkdigit
--   $barcode      source barcode
--
-- If the source string is 13 or 14 characters long and contains only digits, adds or replaces the 14
-- character with a checkdigit computed according to the usual algorithm for library barcodes
-- using the Codabar symbology - see <http://www.makebarcode.com/specs/codabar.html>.  If the
-- input string does not meet those requirements, it is returned unchanged.
sql/base/base.sql