Hello everybody, I have this code and I would like that in the cases of the switch identify if the character of a given sentence is a lowercase letter, an uppercase or an space. Thank you very much!
sentence='Hello 22';for ch=1:length(sentence) switch sentence(ch) case %if it is a lowercase letter
%blahblah
case %if it is an uppercase letter
%blahblah case %if it is an space
%blahblah endend
Best Answer