MATLAB: Is there an efficient method to remove leading underscores from a cell array of strings

string manipulation

Given
a={'rose','_tulip_blue','lilac','_daisy'}
is there an efficient way of stripping the leading underscores to give
b={'rose','tulip_blue','lilac','daisy'}
I tried
strtok(a,'_')
but that gives
b={'rose','tulip','lilac','daisy'}
and misses the '_blue'. I would like to avoid looping through the strings one at a time if possible.

Best Answer

[b, c] = strtok( a, '_' )
b = strcat( b, c )
looks like it works.