![]() |
Extracts A Word From A Field |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: This merge information can be used to extract a word from a field. Examples are below. Primary File {FIELD}4~ {FIELD}2~ {FIELD}3~ {FOR}counter~0~{LEN}{FIELD}4~~~1~ {IF}"{MID}{FIELD}4~~{VARIABLE}counter~~1~"=""~ Dear {MID}{FIELD}4~~0~{VARIABLE}counter~~, {END IF}{END FOR} This is the body of the letter. Sincerely, CJ Bailey Customer Support Secondary File WordPerfect Corp{END FIELD} Customer Support{END FILED} 1555 N. Technology Way Orem, UT 84057 {END FIELD} Rick Kidman {END FIELD} {END RECORD} ===================================================================== ==== WordPerfect Corp{END FIELD} Customer Support{END FILED} 1555 N. Technology Way Orem, UT 84057 {END FIELD} CJ Bailey {END FIELD} {END RECORD} ===================================================================== ===== WordPerfect Corp{END FIELD} Customer Support{END FILED} 1555 N. Technology Way Orem, UT 84057 {END FIELD} Drew Schmidt {END FIELD} {END RECORD} ===================================================================== ====== |
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. |