EMR name import formatting

When I pull in patient names from my EMR, the name is formatted last name, first. Ex Doe, Jane. This looks a little clunky when I create a snippet for follow up visits stating something like this...

9/11/2024:
Doe, Jane returns today for follow up. She reports

Is there any way to add an additional command to delete the last name, comma, and white space so the formatting looks more like this...

9/11/2024:
Jane returns today for follow up. She reports

Thanks in advance for the help!

Hi @Craig_Yager.

You can use the formula {=split(NAME, " ")[-1]}, replacing NAME with the command used to pull the patient name.