The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. SUMMARYThis article lists sample expressions that you can use to extract a portion of a text string. These expressions are commonly used in the Update To line of an update query to place a portion of a larger field into a new field. You can adapt these expressions so that you can use them with other common formats. For example, you can use the expression that is used to extract "Doe" from "Doe, John" to extract "Seattle" from "Seattle, WA." MORE INFORMATION
The following expressions are sample expressions that you can use to
extract a portion of a text string. First NameOriginal Entry in [Names]: "John Doe" First NameOrignial Entry in [Names]: "Doe, John" First NameOriginal Entry in [Names]: "John P. Doe" Last NameOriginal Entry in [Names]: = "John Doe" Last NameOriginal Entry in [Names]: "Doe, John" Last NameOriginal Entry in [Names]: "John P. Doe" Last NameOriginal Entry in [Names]: "John Doe" or "John P. Doe" Middle InitialOriginal Entry in [Names]: "John P. Doe" Middle InitialOriginal Entry in [Names]: "Doe, John P." Zip CodeOriginal Entry in [ZipCode]: "98052-6399" Area CodeOriginal Entry in [Phone]: (425) 635-7050 Phone NumberOriginal Entry in [Phone]: (425) 635-7050 Additional query words: parse parsing text strings fullname city state zip code part partial piece section fragment segment take use
Keywords : kbusage kbdta ExrOthr |
Last Reviewed: November 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |