View source: R/replext_helpers.R
text_to_char_vector | R Documentation |
This internal function takes a string of comma-separated values and converts it into a character vector. It is used to process user inputs from the Shiny app's UI, particularly when these inputs need to be retained as character data.
text_to_char_vector(text_input)
text_input |
A string containing comma-separated values, typically user input from the Shiny app's UI. The function trims leading and trailing whitespace before processing. |
A character vector converted from the comma-separated string. If the input is an empty string or consists only of whitespace, returns an empty character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.