Split string into multiple inputs
Usage
cass_split_string(string, squish = TRUE, to_lower = TRUE, to_regex = FALSE)
Arguments
- 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 |
.
Examples
cass_split("dogs, cats, horses")
#> Error in cass_split("dogs, cats, horses"): could not find function "cass_split"
cass_split(string = "dogs, cats, horses", to_regex = TRUE)
#> Error in cass_split(string = "dogs, cats, horses", to_regex = TRUE): could not find function "cass_split"