isspace | R Documentation |
Determine which characters are space characters
isspace(A)
A |
a character array or a string scalar |
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.
Recognized whitespace characters are
and \\t
.
Waldir Leoncio
chr <- "123 Main St." X <- "\t a b\tcde f" isspace(chr) isspace(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.