isspace {matlab2r}R Documentation

Determine space characters

Description

Determine which characters are space characters

Usage

isspace(A)

Arguments

A

a character array or a string scalar

Value

a vector TF such that the elements of TF are logical 1 (true) where corresponding characters in A are space characters, and logical 0 (false) elsewhere.

Note

Recognized whitespace characters are ⁠ ⁠ and ⁠\\t⁠.

Author(s)

Waldir Leoncio

Examples

chr <- "123 Main St."
X <- "\t a b\tcde f"
isspace(chr)
isspace(X)

[Package matlab2r version 1.5.0 Index]