Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
nicouek
Creator
Creator

String Value Formating

Hello All,

I would like to ask if you could help me with this problem. Thank you.

My field [name] shows value as: 'FIRSTN LASTN' --> 'JOHN DO'

Is there a way to for me to transform all the values in the field to show a 'COMMA' (,) between FIRSTN and LASTN

=FIRSTN, LASTN (JOHN, DO)

Thank you.

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Perhaps?

SubField( [name], ' ', 1) & ', ' & SubField( [name], ' ', 2) as FullName;

or

=SubField( [name], ' ', 1) & ', ' & SubField( [name], ' ', 2)

View solution in original post

2 Replies
BrunPierre
Partner - Master
Partner - Master

Perhaps?

SubField( [name], ' ', 1) & ', ' & SubField( [name], ' ', 2) as FullName;

or

=SubField( [name], ' ', 1) & ', ' & SubField( [name], ' ', 2)

nicouek
Creator
Creator
Author

Dear BrunPierre,

Never mind! your solution is on point (CORRECT), had to put SPACE between the SINGLE QUOTES ('' vs ' ')

=SubField( [name], '  ', 1) & ', ' & SubField( [name], '  ', 2

nicouek_0-1690498991909.png

It works!!!

Thank you