str_tokenize | R Documentation |
The usual job of this function is to break a string into a vector of individual characters, but it can break strings using other separators.
str_tokenize(string, pattern = NULL)
string |
a character vector of strings to break |
pattern |
pattern to use for splitting. Defaults to |
a single character vector of the tokens
str_tokenize(c("abc", "de"))
str_tokenize(c("abc de fg"), " ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.