How do i break a string down into cell arrays containing a string?

I have a string separated by commas as below: 'Apples, Bananas, Dogs, Cats'
How do i break it down to become a 4x1 cell array containing {Apples; Bananas; Dogs; Cats}
Thanks in advance!

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by