Microsoft KB Archive/63470

Find and Change for White Space (^w) Doesn’t Always Work

PSS ID Number: Q63470 Article last modified on 03-07-1997

=
========================================================= 4.00 MACINTOSH kbusage buglist4.00 fixlist5.00 ———————————————————————- The information in this article applies to:

 == Microsoft Word for the Macintosh version 4.0 == 

= SUMMARY =

Using the Microsoft Word for the Macintosh 4.0 Find and Change commands to find special characters will not work as expected when the combination “pw” is used. This combination would normally be used to find a paragraph mark (^p) followed by white space (^w). However, this combination instead finds occurrences of a paragraph mark followed by white space and the character “w” in uppercase and lowercase.

= WORKAROUND =

To simulate a find and change for “pw”, you can perform a three-step find and change operation:


 * 1) Change all paragraph marks to a unique character, such as three asterisks (***).
 * 2) Search for the unique character followed by white space (for example, search for &quot;***^w&quot;) and replace it with the item you want.
 * 3) Search for any remaining instances of the unique character and replace them with a paragraph mark.

= STATUS =

Microsoft has confirmed this to be a problem in Word 4.0. This problem was corrected in Word 5.0.

KBCategory: kbusage buglist4.00 fixlist5.00 KBSubcategory: Additional reference words: macword5 Additional reference words: 4.00 macword ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.