Hello,
The way the 4,4 keys usually work (in our case at least) is that it is the first four characters of the first _word_ of the author and title. So your code will need to take into account titles and names with first words less than 4 characters long. For instance, the work "Foo Bar" by John Doe becomes Doe,Foo in our database.
Which is a long winded way of saying that a simple substr ($TITLE, 0, 4) may not be appropriate in all cases.
Regards,
Ashley.
-- Ashley Sanders [EMAIL PROTECTED] Copac http://copac.ac.uk -- A MIMAS service funded by JISC