Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

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