Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Name reformatting

JanaZ
7 - Meteor

Hi There

Could you please help me find the best way to reformat the name?

 

NameNew Name
Zhang JanaZhang,Jana
Zhang Sheng JanaZhang Sheng,Jana
2 REPLIES 2
flying008
14 - Magnetar

Hi, @JanaZ 

 

Just for you:

ReverseString(ReplaceFirst(ReverseString(Trim([Name]))," ", ","))

flying008_0-1676516046418.png

******

If it can help you , please mark it as a solution and give a like for more share.

 

 

grazitti_sapna
17 - Castor

@JanaZ , Here are 2 other ways to achive your results using regex and GetWord functions:

grazitti_sapna_0-1676521840352.png

 

Sapna Gupta
Labels