Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!ncar!midway!ellis.uchicago.edu!dwal From: dwal@ellis.uchicago.edu (David Walton) Newsgroups: comp.sys.mac.apps Subject: Re: Another MS-Word QUestion..... Message-ID: <1991Jan24.180341.23408@midway.uchicago.edu> Date: 24 Jan 91 18:03:41 GMT References: <1991Jan24.153219.29086@cs.dal.ca> <1991Jan24.173516.22098@midway.uchicago.edu> Sender: news@midway.uchicago.edu (News Administrator) Organization: University of Chicago, Academic and Public Computing Lines: 30 [Nuno M. Paixao asks if there's a way to make Word strip the carriage returns at the ends of lines] In article <1991Jan24.173516.22098@midway.uchicago.edu> xdab@ellis.uchicago.edu (David Baird) replies: >In the Change dialog box, you can find CRs by entering ^p and >replacing with a space. Hit change all and the work is finished. This will ^^^^^^^^^ >of course also remove all the CRs that are separating paragraphs. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you have blank lines between your paragraphs, you can avoid this problem by remembering that at the end of a paragraph, you'll have two carriage returns right together (one at the end of the last line in a paragraph, one at the end of the blank line which separates the current paragraph from the next one). If you use the Replace All facility to replace each CR with something like 'XXXX', you'll get an 'XXXX' at each former end of line within the paragraph, and 'XXXXXXXX' at the end of the paragraph. Just use Replace All to replace the single CRs 'XXXX' with spaces and the double CRs 'XXXXXXXX' with carriage returns, and you've got it. >X David Baird xdab@midway.uchicago.edu X -- David Walton Internet: dwal@midway.uchicago.edu University of Chicago { Any opinions found herein are mine, not } Computing Organizations { those of my employers (or anybody else). }