Page 1 of 1

Remove Duplicate Title

Posted: Thu May 15, 2014 4:50 pm
by U
We have data in which the title is duplicated, for example "MRS MRS JENNIFER TAYLOR" and want to use Pattern-Action Language to remove the duplicate.

We tried:
P | P [ {} = [1] ] | **
RETYPE [1] 0

but this generated an error in the Test utility.

Can someone with PAL experience please suggest a valid way to achieve this requirement?

Thank you for your time.

Posted: Thu May 15, 2014 6:10 pm
by ray.wurlod
Although it's double-handling to some extent, the following should work.

Code: Select all

P | P | **
COPY [1] temp1
COPY [2] temp2

P | P | ** | [ temp1 = temp2 ]
RETYPE [1] 0

Posted: Thu May 22, 2014 7:24 pm
by U
That works and we will use it in our rule set.

Thank you again for your time.