Free Trial

Alteryx Designer Desktop Discussions

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

Sort characters within a field

slckkrky
8 - Asteroid

Hello everyone

 

I am trying to sort field characters regardless of what value is in the field  i.e. "Value= Chocolate", I need "accehloot" or "Value= apple2", I need "2aellp"7

 

Is there any way to do that?

 

Thank you in advance

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @slckkrky here's how I'd go about this. We just split the records into individual characters before sorting them and then re-concatenating to get back to a single cell value. Hope this helps!

Rags1982
10 - Fireball

Agree with @DataNath 
Out of curiosity, why would you want to do this? 

slckkrky
8 - Asteroid

I am investigating new ways to fuzzy match values. I will sort all characters of multiple fields , create a new field to match and see if the result will get any better.

Labels
Top Solution Authors