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 Related SolutionsMATLAB: How to define string character It creates a string (character array) containing just a single space character. MATLAB: Binary string to character string userid = char(bin2dec(reshape(watermark(1:160),[],8))).'passwrd = char(bin2dec(reshape(watermark(161:320),[],8))).'str = [userid passwrd] Related QuestionRemove the first five letters of a stringHow to creat a empty stringFinding a character in a stringRemove strings
Best Answer