MATLAB: How to remove leading characters from a string

characterssplitstrings

I read one ascii file. and created this dummy mat file (attached ).
To make simple matrix out of it i need to split the string
i used this code (below) but it coudnt split the first string which is a date and time with some leading number since there is no space in between. There is this number before the date and time, i want remove those numbers so can use datenum on that string !
for i = 1:len_data
segments = regexp(dummy{1,1}{i,1},' ', 'split');
end

Best Answer

segments = regexp(dummy{1,1}{i,1}, '\t', 'split');
Perhaps you could have used readtable() on the ascii file: it would likely have detected the tab delimiter.