A version of the BLAZE_AND delimiter without the oxford comma

The current version of BLAZE_AND always inserts a comma before the final "and". Would it be possible to include a version that doesn't do that so that the below examples renders the result "Thanos, Wilson and Mark"?

Otherwise, can you recommend a way to always remove the final comma using the below example?

{names=["thanos", "wilson", "mark"]}

{=join(proper(names), "BLAZE_AND")}

Okay so that's really weird. In my snippets Dashboard and my actual use of TextBlaze in practice it always shows the comma with the above example but here on the forums it doesn't? Dunno what to make of that.

ezgif-862395ea0616fd

Hi @Joe_P

Could you try this:

{names=["thanos", "wilson", "mark"]}
{=join(map(names, name -> proper(name)), "BLAZE_AND")}

The proper function is supposed to operate only on a string, not a list of strings (Text Blaze | Formula Reference). So we use map() to iterate over the list and proper() each word individually.

I am not sure why you are seeing a difference of behavior in the snippet on the dashboard vs. on the community here. Could you share the dashboard snippet with me via email at gaurang@blaze.today and I can take a look at it?