text_to_char_vector {npboottprm}R Documentation

Convert Comma-Separated String to Character Vector

Description

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.

Usage

text_to_char_vector(text_input)

Arguments

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.

Value

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.


[Package npboottprm version 0.3.2 Index]