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!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Character Extraction

SVIGGIANO
6 - Meteoroid

This should be easy for an Alteryx person but for sum reason have a difficult time tonight.  I have a string (example:RPD4_Boot_to_Kernel) and I just want to extract the 4th character from all like strings to get the key number ( in this case 4.  In Excel for formula is easy (=MID(C4,4,1)), I don't know regular expressions, but I thought with all the amazing thigs I can do with Alteryx, this one should have been easy.  Your help would be greatly appreciated.

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@SVIGGIANO 
Formula for RegEx for your pick.

1113-SVIGGIANO.PNG

atcodedog05
22 - Nova
22 - Nova

Hi @SVIGGIANO 

 

Substring of Alteryx works similar to excel Mid. See the formula below.

substring([Field1],3,1)

 Output:

atcodedog05_0-1605244668762.png

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Labels
Top Solution Authors