Qamp;A;Questions and answers;Your technical problems tackled

12th November 1999 at 00:00
I have been sent a long text file I need to edit. However, whenever I change the text I get short lines at various points. How can I avoid this? - M Thomas, Churchdown.. It sounds as if the author of the text has pressed Return at the end of every line. To remove all the unwanted Return characters without affecting the real paragraph ends you need to replace the Return character with spaces.

To do this you need to mark the true paragraph ends with a temporary symbol, erase all unwanted Return characters, then replace the temporary symbols with Return characters. Choose Edit, Replace. In Find What type p p (used by Word to represent Return). In Replace With type % (or any character not in the document). Click Replace All. Now change Find What to p and Replace With to a single space character. Choose Replace All again. This will remove all unwanted RETURN characters. Finally, in Find What type % (or whatever you chose to mark the paragraph ends) and p p in Replace With. Now, when you click Replace All the proper paragraph ends will reappear.

Subscribe to get access to the content on this page.

If you are already a Tes/ Tes Scotland subscriber please log in with your username or email address to get full access to our back issues, CPD library and membership plus page.

Not a subscriber? Find out more about our subscription offers.
Subscribe now
Existing subscriber?
Enter subscription number


The guide by your side – ensuring you are always up to date with the latest in education.

Get Tes magazine online and delivered to your door. Stay up to date with the latest research, teacher innovation and insight, plus classroom tips and techniques with a Tes magazine subscription.
With a Tes magazine subscription you get exclusive access to our CPD library. Including our New Teachers’ special for NQTS, Ed Tech, How to Get a Job, Trip Planner, Ed Biz Special and all Tes back issues.

Subscribe now