isstrprop
- :
tf =isstrprop(str, type)¶ Test each character of str for a class of characters.
type is one of
"alpha","alnum"(or"alphanum"),"ascii","cntrl","digit","graph"(or"graphic"),"lower","print","punct","space"(or"wspace"),"upper"and"xdigit". The result is a logical array shaped like str; for a cell array it is a cell array of such results. Classification follows the ASCII character set.