Jonathan Kaye wrote: > Hi all, > I've written a very clunky macro for reducing all sequences of spaces > 1 > to a single space. It is a find/replace loop finds a sequence of 2 spaces > and reduces it to 1 and then loops back to the beginning and repeats 10x. > I do this 10 times since I don't know the maximum number of spaces that > I'll need to deal with. This works fine for short documents but looping > repeatedly through a 430 page document seems extreme. Sure there's some > really cool code out there that will just take an arbitrary number of > spaces greater than 1 and reduce them to a single space. > > All suggestions are welcome. > TIA > Jonathan What I'm looking for is a routine like the one on pp.163-164 of Andrew's Macro Information, but much, much simpler. All I care about are spaces and all sequences of 2 or more should be reduced to a single space, without excpetion. Cheers, Jonathan
-- Registerd Linux user #445917 at http://counter.li.org/ Please do not send me copies of list mail. I read the lists. Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
