In Matlab,
1. strsplit('a,b,c,', ',')
2. strsplit('a,b,c,,,', ',')
both results of 1 and 2 are same,
{{'a'}, {'b'}, {'c'}, {0×0 char}}
However I want to take
{{'a'}, {'b'}, {'c'}, {0×0 char}, {0×0 char}, {0×0 char}}
from a string
'a,b,c,,,'.
I tried 'CollapseDelimiters' option in strsplit function. But It does not work for tails.