> Problem 1: As you can see, I don't really want the first four 
> characters, I want the first four SEARCHABLE characters.  How can I 
> tell MARC Record to give me the first four characters, excluding 
> diacritics?

What output would you have rather seen?

    Dave,Ayod\2003
    Paot, Kaas\2002
    Baks,Dasa\2003
    ,Vias\2002

?

I changed out the order to put the problem children at the bottom. Thus the 
correct output would be:
    
    Baks,Dasa\2003
    Dave,Ayod\2003
    Pata,Kasm\2002   * actual text is: 100 PatÌanÌiÌ, RaÌjana. 245 
KasÌmakasÌa 
                                  ** Raw MARC reads:
                                        100 PaÃtaÃnÃi, RÃajana. 245 
KaÃsmakaÃsa 
    ,Vias\2002            * actual text is: 245 VisÌvaprasiddha vaÌrtaÌo
                                  ** Raw MARC reads: 245 ViÃsvaprasiddha 
vÃartÃao

>You probably want to use the data() method on the MARC::Field object for >the 
>'008' field, in combination with substr() to extract a substring based on an 
>offset and a length.

Worked brilliantly; Thanks!

JJ

**Views expressed by the author do not necessarily represent those of the 
Queens Library.**

Jane Jacobs
Asst. Coord., Catalog Division
Queens Borough Public Library
89-11 Merrick Blvd.
Jamaica, NY 11432

tel.: (718) 990-0804
e-mail: [EMAIL PROTECTED]
FAX. (718) 990-8566

Reply via email to