Multiple choice technology

which of the following function will be used to convert the string to a vector?

  1. string_split()

  2. string_lrtrim()

  3. string_concat()

  4. string_substring()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

string_split() divides a string into a vector based on a delimiter, making it the correct choice for string-to-vector conversion. string_lrtrim() removes leading/trailing whitespace and returns a string. string_concat() joins strings and returns a string. string_substring() extracts a portion and returns a string.