_implodeListNice
Concatenate a list into a nice, comma-separated string
Description
Concatenate a list into a nice, comma-separated string. Useful when called from another shortcut as a method.
Example:
- Prompt the user to pick from a list (or provide an entire list). Let's say the list is [dog,cat,llama,pig]
- Call this shortcut
- The shortcut will return a string:
dog, cat, llama, and pig
The final word and
can be customized, as can the Oxford (final) comma. It's on by default because I'm not a psychopath.