Grammatical List
Version 1.0.0.0 (1.33 KB) by
Jonathan Awerbuch
Takes a cell array of strings and returns a single string with commas and "and" per standard grammar
Takes a cell array of strings, i.e. {'one' 'too' 'three' 'for'} and returns a single, grammatically-correct string of the list, i.e. 'one, too, three and for'. Returns 1x1 cells verbatim.
Cite As
Jonathan Awerbuch (2024). Grammatical List (https://www.mathworks.com/matlabcentral/fileexchange/42311-grammatical-list), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |