Last update: August 12, 2008
I needed a function that will compare Library of Congress call numbers.
I found a function in PERL to do this on Joshua McGee's site, but I needed it in PHP and our call numbers use a space instead of a period for some of the separators, for example: HA 1107 K49 2003.
Here is the function in PHP: