isspace - Array elements that are space characters
Syntax
tf = isspace('str')
Description
tf = isspace('str') returns an
array the same size as 'str' containing logical 1 (true)
where the elements of str are ASCII white spaces and logical 0 (false)
where they are not. White spaces in ASCII are space, newline, carriage return,
tab, vertical tab, or formfeed characters.
Examples
isspace(' Find spa ces ')
Columns 1 through 13
1 1 0 0 0 0 1 0 0 0 1 0 0
Columns 14 through 15
0 1See Also
isletter, isstrprop, ischar, strings, isa, is*
 | issorted | | issparse |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit