cass_split_string | R Documentation |
Split string into multiple inputs
cass_split_string(string, squish = TRUE, to_lower = TRUE, to_regex = FALSE)
string |
A text string, typically a user input in a shiny app. |
to_regex |
Defaults to FALSE. If TRUE collapses the split string,
separating each element with |
A character vector
cass_split("dogs, cats, horses")
cass_split(string = "dogs, cats, horses", to_regex = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.