string_to_string_vector: Transform a String into a String-Formatted Vector

View source: R/common.R

string_to_string_vectorR Documentation

Transform a String into a String-Formatted Vector

Description

Converts a string into a string-formatted vector (e.g., "a<|>b<|>c" -> c("a", "b", "c")).

Usage

string_to_string_vector(str)

Arguments

str

character A string to transform.

Value

A string representing a vector in R syntax (e.g., c("a", "b", "c")), or ⁠"\"\""⁠ if the input string is empty.


moodef documentation built on April 12, 2025, 1:42 a.m.