LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2009)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 22 Oct 2009 12:57:36 -0700
Reply-To:   Mike Pritchard <5circles@gmail.com>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   Mike Pritchard <5circles@gmail.com>
Subject:   Re: Replacing CRLF with a space in a Word document
Comments:   To: John F Hall <johnfhall@orange.fr>
In-Reply-To:   <C36B6B8FE9124330B675EC39CA4BA3DA@yourg2asvv4l2m>
Content-Type:   multipart/alternative;

Hi John. Were you able to figure out the answer from Garcia's suggestions? I've used tricks like that many times to convert when the original file has hard returns or some other similar issue. Sometimes I make a change to put some other character in place first, so I don't lose the places where the hard returns are needed. If your file is set up with single CRLF for the places that should have spaces, and repeated CRLF when there should be a paragraph, you probably don't need to do that.

Another approach is to use an editor that's more set up for programming - something like Notepad Plus for example.

Good luck

Mike

_________________________________________________________________________ Mike Pritchard | <mailto:mikep@5circles.com> mikep@5circles.com | <http://www.5circles.com/> 5 Circles Research | 425-444-3410

_____

From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of John F Hall Sent: Wednesday, October 21, 2009 2:39 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Replacing CRLF with a space in a Word document

Hi list

Yes, it's indirectly about SPSS. I have retrieved a set of statistical notes to accompany my SPSS workshop tutorials. They were originally written to Vax by Jim Ring in 1988 and later copied back (I think) to a DOS based desktop as WordStar4 files in Courier New 10. I have now copied this into a Word document (in Arial 12, but retaining the Courier fixed format for tables and 20 year-old SPSS output.) I now need to reformat the Arial sections. There are 65 pages and every line has a CRLF. Does anyone know a quick way of replacing the CRLFs with a space? Otherwise it will take me all day to go through and delete the end of each Arial line.

OK they date from 1988, but they are fantastic tutorials (not intended to replace textbooks of that time, Norusis and Loether & McTavish) aimed at non-numerate students and wannabe researchers. Typical reason for doing my course, "I've got a degree in Sociology and I want a job!"

Help!

TIA

John Hall


[text/html]


Back to: Top of message | Previous page | Main SPSSX-L page