many thanks
Seamus

================ You wrote ================
text = REReplace(text,"\^[ \t]*(?=([\r\n]|$))","^N/A","all");
>>
>>> -----Original Message-----
>>> From: Seamus Campbell [mailto:[EMAIL PROTECTED]
>>> Sent: zondag 20 juni 2004 7:55
>>> To: CF-Talk
>>> Subject: list problem
>>>
>>> Hi
>>>
>>> I have a list I'm trying to read with cffile
>>>
>>> The list items sometimes have a binding code in the last
>>> field and sometimes nothing. So its read as having either 7
>>> or 8 fields.  
>>> So I'm trying to insert "N/A" in the last field when nothing
>>> is there  
=======================================================
>>> AN^Apr04-^1^Bonyhady, Tim and Griffiths, Tom (eds.).^  
Prehistory to
>>> Politics: John Mulvaney, the Humanities and the Public
>>> Intellectual. ^Mulvaney, one of Australia's best known
>>> prehistorians, has been an influential figure in public
>>> debate and public policy about world heritage, archaeological  

>>> and conservation practice, the function and operation of
>>> museums, and the relevance of the humanities. * R.P. $32.95
>>> now <B>$</B>^7.95^ paper AN^Apr04-^2^De Waal, Frans.^ The Ape  

>>> and the Sushi Master: Cultural Reflections by a
>>> Primatologist. ^The author examines the influence of European  

>>> ethology and Japanese primatology on the way in which we
>>> regard other animals, the possibility of non-human culture
>>> within the animal world, and our perceptions of the human
>>> race. * R.P. $49.95 now <B>$</B>^19.95^ AN^Apr04-^3^Elliott,
>>> Anthony.^ The Mourning of John Lennon.  
>>> ^Examines the life, works, death and iconic status of this
>>> most iconoclastic former Beatle, and discusses the psychology  

>>> of "celebrity". * R.P. $27.95 now <B>$</B>^7.95^ paper
>>> AN^Apr04-^4^Frost, Ginger S.^ Promises Broken: Courtship,
>>> Class, and Gender in Victorian England. ^The first part
>>> concentrates on legal issues. The second part delves into the  

>>> social issues of the action - e.g. detailing the gender
>>> expectations that strongly influenced the verdicts and
>>> reasons for broken engagements. The third part explores
>>> various cultural ramifications for the action among the
>>> elite. Reveals the nuances of courtship, marriage and common
>>> law in Victorian England.  R.P. $70.00 now <B>$</B>^14.95^
>>> =======================================================
>>> Records 1 and 3 have paper as the last field but 2 and 4 have  

>>> nothing .
>>>
>>> Any ideas on how I can do this
>>>
>>> Many thanks
>>> Seamus
>>>
>>>
>>> Seamus Campbell   Boldacious WebDesign
>>> http://www.boldacious.com   ~~~~   [EMAIL PROTECTED]
>>> ph 02 6297 4883  mob 0410 609 267
>>>
>>>
>>>
>>>
>>
>>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to