get_vector_answer: Convert Answer String to Vector
Description
Converts an answer string into a vector using string_to_vector
.
If the input is NULL
, it returns an empty string.
Usage
get_vector_answer(answer)
Value
A vector if the answer is successfully converted, or an empty string if the answer is NULL
.
Arguments
- answer
A character string representing the answer.