This utility shortcut takes text or array of text passed into it and returns an English-like string of text. This is very useful in assembling a sentence that includes a list for Siri to speak or to use in alerts and notifications.
The text that is returned is based on how many items are passed to the shortcut: - If only one item of text is passed in, that string is returned, unaltered. - If two items of text are passed in, the two items are returned, separated by a space, the word “and”, and another space. For example, if “apple” and “orange” are passed in as an array, “apple and orange” is returned. - If three or more items of text are passed in, the items are separated by commas, except for the last two items, which are separated by a serial comma, a space, the word “and” and another space. For example, if “apple”, “orange”, and “banana” are passed in, “apple, orange, and banana” is returned.
For those who don’t like serial commas, you can simply edit the Replace action to substitute “ and “ instead of “, and “.
Latest Release Notes
1.0 - Feb. 11, 2021, 11:35 p.m.
This is the initial version.