Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Split a column at the beginning and end without using a delimiter.

pierrejames
6 - Meteoroid

Hello, I need help splitting a column that does not have a delimiter.

 

Please see the example below.

 

Input data: 
Account
BA1234567
 
Output data: 
Account
12345
2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@pierrejames 
I assume your cretia for the 2nd row is to take the five digit after the two letters.

Capture2.PNG

fmvizcaino
17 - Castor
17 - Castor

Hi @pierrejames ,

 

Here is an example for you.

First I'm using regex to identify strings with no numbers and then using right + left function to remove the first and last 2 characters.

 

Best,

Fernando Vizcaino

Labels