Determine which characters are space characters
TF = isspace( returns a logical array
A is a stringr, then the elements of
TF are logical
corresponding characters in
A are space characters, and logical
isspace is supported only in Stateflow® charts that use MATLAB® as the action language.
Determine Which Elements of a String Are Spaces
h = "Hello, world!" x = isspace(h)
This operator is not supported for use with structures. For more information about structures in Stateflow, see Access Bus Signals Through Stateflow Structures.