I pull in usernames in the form of "Smith, John" into a string.

I would like to convert this string to be "John Smith" instead.

(Not just for the name "John Smith" obviously but for any name)

What's an easy way to do this?

Thanks!