str_tokenise | R Documentation |
Splits an input string into tokens. A wrapper for strsplit()
with a predefined split regex of
[^[:alnum:]]
, i.e. anything except [a-zA-Z0-9]
.
str_tokenise(x, split = "[^[:alnum:]]+")
x |
The input string. Non-character inputs will be coerced with |
split |
The regular expression to split on. See |
A list containing one character vector for each element of x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.