Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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
6 - Meteoroid

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