In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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