community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
SOLVED

Extracting a number

Atom

How to extract 19 from 2019456532?

 

I know of findstring, but that gives me the position of the digit.

 

Thank You for your help.

 

Shounak

Highlighted
Meteor

HI Shounak,

 

Can you be more specific please with what you want. What are you trying to extract? Is it that you always want the 3rd and 4th digit of a string?

If that is the case one of the many ways you can do this is to use the Substring function.

Magnetar

Hi the @Ghosh 

 

This Substring formula using FindString and Length as parameters will give you what you looking for

 

substring("2019456532",findstring("2019456532","19"),length("19"))

Dan

Atom

thank you for the solution. I managed to get it frm substring function, but the findstring function paired together works great too.

Labels