![]() |
Search For Hyphen In Text With Both Regular & |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: A WP 5.1 DOS macro searching for strings in the format "a2-02" and does not find all of them because some of them are normal hyphens and some of them are hard hyphens. Searching for "as^X02" (^X is often used as a wildcard character in a search) does not find the hard hyphen strings either. Solutions: This is a limitation of the program. The user worked around this limitation by having the macro search for "a2" and then assign {SYSTEM}right~ to a variable and then compare the variable to "-". Hard hyphens will match this condition. How/Why: There is no number assigned for the Hard hyphen character. {SYSTEM}right~ actually returns a hyphen character instead of a number. |
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. |