Your solution is calling map many times, each doing a single step. A single call to map can do all the steps necessary, regardless of string interpolation, concatenation, or replace.
Some extension-points / places to customize the code:
the trim: true option to String.split prevents an empty "" at the end of the result if there’s a trailing , on the input. Your example didn’t specify what the behavior should be.
if the input values might contain ", you’ll want to make the Enum.map step smarter about escaping
commas in the input that aren’t followed by at least one space will be passed through unchanged. Whether that’s a bug or a feature depends on your expectations for the input.
My requirements are very basic for now… However the regex is not preferred as if when the solution will later require that the string does not have a trailing comma, has a underscore in between words, may contain minimum two dots etc, then the regex itself becomes too much burden to think of (you can tell I’m a big fan of regex ;-])
BTW your solution does not return each word in double quotes. Corrected: