I have a small problem with pattern-action language that I'd appreciate some help with.
Address data contains insufficient space, for example 64MAIN ST which returns >+ as its pattern.
What actions do I need to include to copy the 64 to {HouseNumber} and the MAIN to {StreetName1}? I can't figure this out from the Pattern Action Reference manual.
Thank you for your time.
Splitting Tokens
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Try this (from page 25 of the manual):
You may prefer to use intermediate variables, also discussed on page 25.
Code: Select all
> | T
COPY [1](n) {HouseNumber}
COPY [1](-c) {StreetName1}
COPY_A [2] {StreetType}
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.