Replacing Spaces With Tabs In Columnar File

DocumentID: 662078
Revision Date: 29-Feb-96 8:49:29 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: In WP 5.1 3/9/92 for DOS, how can I take part of a space delimited columnar document and replace the spaces between words with Tabs? Solutions: The steps below will allow the user to achieve the desired results: 1. Retrieve the document. 2. Use Alt-F4 to block the text (starting at the first letter of the word of the column which needs modification). Block to immediately after the last word of the column (not including the space which is at the end of the word). 3. Ctrl-F4, 3-Rectangle, 1-Move, Shift-F3 (to move to the Doc 2 screen), Enter (to retrieve the text). 4. Do a search for a space and replace it with a Tab. This will place a Tab between the two words. 5. Then do a search for a Hard Return [HRt] and replace with a space and [HRt]. 6. Alt-F4 and block the text. Ctrl-F4, 2-Tabular Column (it should highlight the entire area of the column), 1-Move. Cancel the "Move Cursor; press Enter to retrieve" message. 7. Shift-F3 to move to the original document and position your cursor at the location where the information should be pasted. 8. Ctrl-F4, 4-Retrieve, 2-Tabular Column. NOTE: You see that it is positioned at the beginning of all the columns. Don't panic! 9. Move your cursor to the text there and look in Reveal Codes. You will note that the Tab between the two words is there still (this was the problem you had yesterday). 10. Alt-F4 to block the info that needs to move to the appropriate column. Include the space immediately after the last word in your block. 11. Ctrl-F4, 3-Rectangle, 1-Move. 12. Move your cursor to the second space at the location where the information belongs (there will be two spaces together which mark where the text needs to go), and press Enter. 13. NOTE: The text is in the correct position and there is a Tab code between the two words. NOTE: There are now still two spaces. You can search for two spaces and replace with one to resolve this last little thing. 14. You are now done! 15. NOTE: I recommend that you do this procedure in WordPerfect 5.1 DOS because you have more ability to "play" with the block format than in WordPerfect 6.0 DOS. I realize that this is a time consuming procedure. The only other alternative is to record some type of keystroke macro and run it for every single line in the file. Folio: WP51

Answer:

Details:

Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.