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 😀👍

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels