In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
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