Alteryx Designer Desktop Discussions

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

Split List According to first letter of a String (Name)

LeandroGAmaya
5 - Atom

Hi Community, hope you're all having a great week.

 

I've been asked to build a Workflow and, at some point, I'm needing to separate the list according to the names displayed. I'd need two outcomes, one with everyone whose name starts with [a,k] and the other with [l,z].

 

I've tried with the StartWith() formula but I'm not finding the way of doing so with a range of characters.

 

Thank you beforehand!

5 REPLIES 5
ShankerV
17 - Castor

@LeandroGAmaya 

 

One way of doing this.

 

ShankerV_0-1675965424741.png

 

ShankerV
17 - Castor

Hi @LeandroGAmaya 

 

As I have seen your question with lowercase letters, the filter tool is not case sensitive.

So It will output you both name starts with Lowercase a and Upper case A.

 

ShankerV_0-1675965677595.png

 

Many thanks

Shanker V

 

 

LeandroGAmaya
5 - Atom

Hi there! 

 

Thank you a lot for your answer. I haven't explained it well enough, I need to separate the list with every person whose name starts with a letter from A, all the way to letter K. Meaning that somebody named Carol should appear but Leonard shouldn't. Is that something that can be done without doing individually?

ShankerV
17 - Castor

Hi @LeandroGAmaya 

 

Please find the expected result.

 

ShankerV_0-1675966363068.png

 

Note: As join tool is case sensitive, I have converted the starting letter to Uppercase while joining. 

 

Many thanks

Shanker V

binuacs
20 - Arcturus

@LeandroGAmaya One way of doing this with the Regex function

binuacs_0-1675966964526.png

 

Labels