MATLAB: How to delete the first or the first two characters in a string

delete

Hello,
How can i delete the first two characters of this string? Thank you
string='W987';

Best Answer

string(1:2) = [] % To remove the firt two elements