isspace
Test whether each character is whitespace.
Syntax
Section titled “Syntax”tf = isspace(A)Description
Section titled “Description”Returns a logical array the same size as A, with true at positions occupied by whitespace (space, tab, newline, carriage return, form feed, vertical tab).
Example
Section titled “Example”isspace('a b\tc') % [0 1 0 1 0]