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

Alternate to Substitue Function

DNS
5 - Atom

Hi,

 

I am using the below formula in Excel and getting the desired Output. However I am unable to replicate the same in Alteryx.

 

Input: P DIEM-SGD 123@ 48.98-0112-061217-BASKAR S

Output: BASKAR S

 

=RIGHT(B2,LEN(B2)-FIND(CHAR(1),SUBSTITUTE(B2,"-",CHAR(1),4)))

 

Please Assist

 

Thanks.

 

Regards

DNS

4 REPLIES 4
Inactive User
Not applicable

Answer attached.

DNS
5 - Atom

Thanks for the reply. Can you please help me understand this REGEX function?

 

Many thanks in advance.

 

Inactive User
Not applicable

Regular Expression. It is essentially looking for patterns in the data. You can Google how it works further, very handy stuff.

DNS
5 - Atom

Thanks a lot.

Labels
Top Solution Authors