In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases 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
15 - Aurora

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
Top Solution Authors