From: sylar on
Hello,
Is there a way by which I can check in Matlab whether a letter is uppercase or lowercase?
Any help will be appreciated. Thankyou.
From: Steven Lord on

"sylar" <fasih_m(a)hotmail.com> wrote in message
news:653289887.62915.1272890526999.JavaMail.root(a)gallium.mathforum.org...
> Hello,
> Is there a way by which I can check in Matlab whether a letter is
> uppercase or lowercase?
> Any help will be appreciated. Thankyou.

Use ISSTRPROP, LOWER, or UPPER.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: us on
sylar <fasih_m(a)hotmail.com> wrote in message <653289887.62915.1272890526999.JavaMail.root(a)gallium.mathforum.org>...
> Hello,
> Is there a way by which I can check in Matlab whether a letter is uppercase or lowercase?
> Any help will be appreciated. Thankyou.

one of the solutions

t='this IS a TEST';
tu=isstrprop(t,'upper')
% tu = 0 0 0 0 0 1 1 0 0 0 1 1 1 1

us