We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Trimming issue

Harsha_01
6 - Meteoroid

Hello Everyone,

 

I have facing Issue with trim. I want to remove only the bracket in the end. Please see the Following Text. Any help would be very help to me.... Thanks

 

I have used Pad right, R trim, Replace but no Luck.

 

Source text :

 

BANK OF India, NA)

BAO DO Russia S.D.)

National BANK, NA)

 

Required result :

 

BANK OF India, NA

BAO DO Russia S.D.

National BANK, NA

 

 

Thanks in advance,

Sriharsha

 

3 REPLIES 3
johnyli168
Alteryx
Alteryx

Find the solution here, in Alteryx you can be a bit creative about how you achieve this outcome.


I have also attached the workflow!

 

johnyli168_0-1666336887378.png

 

DataNath
17 - Castor
17 - Castor

When you say R Trim, do you mean TrimRight() @Harsha_01? Can’t see why that wouldn’t work here and will only remove the bracket from the end of the string.

 

DataNath_0-1666339337936.png

Emmanuel_G
13 - Pulsar

@Harsha_01 

 

Find in attachement two ways of doing that with both functions you mentionned.

 

Let me know if this answer is ok for you or not.

 

Emmanuel_G_0-1666342915119.png

 

Labels
Top Solution Authors