Reply to topic  [ 2 posts ] 
Macro needed 
Author Message

Joined: 2011-05-01 11:42:38
Posts: 4
I'm using Nisus Writer Pro and have a very large file. It is arranged using MARC (MAchine-Readable Cataloging) fields, the common format for library online catalogs in North America. The field I need to alter begins with 852 $a. Following $a there are extraneous numbers. I need to get rid of the numbers preceding the numbers I really wish to include. They consist of three or more numbers, ALWAYS followed by a space. The data following the space is what I want to include.

Can someone tell me of a preexisting Nisus macro that will do this? Or write me one that does?

Buzz Haughton
bongobuzz@gmail.com


2011-05-01 11:50:54
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Hi Buzz, I don't think there's a macro written for this, but it doesn't sound too difficult a thing to write. But let's make sure I understand what your data looks like. So, you have text that might look like:
Code:
852 $a 1 more text data
852 $a 12 more text data
852 $a 123 more text data

And you want a macro to turn it into:
Code:
852 $a more text data
852 $a more text data
852 $a more text data

If I'm wrong, then please, give examples of the before/after state you want to see.


2011-05-02 00:27:04
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software