Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Cut a String field

Massi1
7 - Meteor

Hey 

I Have a field where Identifiers are like B.520003 and sometimes I have this format K.05858. 

now I must cut the point. 

Everywhere who a point is, that must be cut it. 

Any solutions? 

4 REPLIES 4
bhrmitra
10 - Fireball

Hi Massi1,

 

Did you mean to remove the "dot". If so please find the attached solution.

 

1.png

 

If this solves your issue please mark the answer as correct and also hit the like button, if not let me know! I've attached my workflow for you to download if needed.

 

Thanks,

Abhra Mitra

Massi1
7 - Meteor

HEy, 

 

Thanks at first. 

 

Yes I mean the "dot" but only the "dot" at the End.  I have maybe 8k records. And sometimes I have 8 chars and sometimes 7. And by the 7chars there is a dot like in the sample "K.05858."

I only need to remove the dot and the end. 

 

 

Ben_H
11 - Bolide

Hi @Massi1,

 

In that case you can use the TRIM function.

 

By default the TRIM function removes leading and trailing whitespace i.e. TRIM([your field])

 

You can get it to remove specific characters from the start and end of a field also like so - TRIM([your field],".")

 

Regards,

 

Ben

 

 

bhrmitra
10 - Fireball

Hi  

This should remove only the last "dot".

 

2.png

 

If this solves your issue please mark the answer as correct and also hit the like button, if not let me know! I've attached my workflow for you to download if needed.

 

Thanks,

Abhra Mitra

 

Labels
Top Solution Authors