Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Compare Old String & New String Columns and Output the Unique Substring into a New Column

Rahulkanth
7 - Meteor

Hi Team, I have 2 columns Old and New which contains Text, and each substring is separated by pipe. I would like to compare the Old & New Columns and output the only substring which is unique in nature from New Column. I have created a sample data for your reference.

 

OldNewExpected Output
 Abc(123)Abc(123)
Abc(123)|Bdc(321)Abc(123)|Hij(432)|Bdc(321)Hij(432
Kna(987)|Hij(432)|Abc(123)Pnr(0071)|Abc(123)|Kna(987)|Gfd(091)Pnr(0071)|Gfd(091)
Hij(432)|Abc(123)Hij(432)|Akr(779)Akr(779)

 

Kindly help me on this request, thank you for your support.

1 REPLY 1
nagakavyasri
12 - Quasar

@Rahulkanth Try this:

Screenshot 2024-10-24 130442.png

Labels
Top Solution Authors