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.

Help with Trim formula

rockeylearning
8 - Asteroid

Hi Everyone,

Can someone help me on how I can use Trim to trim numbers like below?

 

Example: 120000123, 1200065698, 1203697 etc..I want only to keep everything after the 0.

so the result should be 123, 65698, 3697.

 

The length is not always the same, there can be one zero, there can be two or many zeros, and the 120 always in front.

 

Thank you for your help

 

~Newbie

4 REPLIES 4
binuacs
21 - Polaris

@rockeylearning Try the below formula

 

image.png

alexnajm
18 - Pollux
18 - Pollux

Here you go!

rockeylearning
8 - Asteroid

@binuacs thank you! This works

rockeylearning
8 - Asteroid

@alexnajm , thank you! your solution also works

Labels
Top Solution Authors