MARCEDIT-L Archives

July 2014

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Kerr, Susan" <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Wed, 16 Jul 2014 20:16:22 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
Hi Nora,

It is not an elegant solution, but you can open the .mrk file in a text editor - my favorite is Notepad++, and then find and replace the "$g " with "$g"  and the same with "$v " with "$v".  

Susan


------------------------------------ 
Susan Kerr 
Systems Librarian 
704-894-2424, 704-894-2625 (fax) 
[log in to unmask] 

DAVIDSON COLLEGE LIBRARY
209 RIDGE RD
BOX 7200
DAVIDSON, NC 28035-7200



-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Nora Blake
Sent: Wednesday, July 16, 2014 4:07 PM
To: [log in to unmask]
Subject: Removing Leading Spaces from Subfield

Greetings all,

I have a situation where I have price information to include in the holdings field of a group of MARC records.  Some of these prices have a leading space in them that I would like to eliminate.  The prices are contained in $g and $v of the holdings field like this:

=952  \\$h840.9 CON$p10052$g 15.00$v 15.00$aCWESTBOYL$bCWESTBOYL$yBOOK

I tried fiddling with regular expressions but am unable to build one that will work.

Can anyone give me advice on how to strip out the leading space that appears in some of these subfields?

Thanks,

Nora
________________________

Nora Blake
MassCat Manager
Massachusetts Library System
P.O. Box 609
South Deerfield, MA 01373-0241
508-357-2121 x123
866-627-7228
Email: [log in to unmask]
AIM: noraatmls 

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2