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.

extract only last 8 digits of a 9 digit V_WString

nmotiani
7 - Meteor

Hi I need help building logic for extracting only last 8 digits of a 9 digit V_WString

 

Example: Dealer Number = 123456789

Desired Result of Dealer Number = 23456789

4 REPLIES 4
PhilipMannering
16 - Nebula
16 - Nebula

You can use,

right(tostring([My_Field]), 8)

 

Bren_Spill2
12 - Quasar
12 - Quasar

@nmotiani - Right([String], 8)

terry10
12 - Quasar

ToNumber(right(ToString([Field1]),8))

 

Capture.PNG

 

terry10
12 - Quasar

Or you could use Regex Replace

 

Capture.PNG

Labels
Top Solution Authors