FUNCTION REFERENCE

isspace

True for whitespace characters.

True for whitespace characters.

Syntax

tf = isspace(str)

A logical array of the size of str. isspace recognizes all Unicode whitespace

characters, including space, tab, newline, vertical tab, form feed, carriage

return and the nonbreaking space char(160). Input that is not text gives all

false.

Example

isspace('a b')   % [false true false]

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.