Skip to content


Determining if an array has the space character


  • A is an array of any data type (e.g., logical, numeric, or character).
  • The output is an array of logical values, which are equal to logical 1 if the corresponding entry in A is a space character, and logical 0 if otherwise.
  • If A is empty, it returns an empty array.