MATLAB: Last letter of a word

strings

how to get last letter of a word in matlab…. that is if the word is "matlab7"… i want "7" … please do reply

Best Answer

s='matlab7'
out=s(end)