Takes a string an creates a vector using sep as the separator

parseArg(x, sep, trim = T)

Arguments

x

String - if a vector only first element will be considred

sep

String - if vector only first element will be considered

trim

Logical - if TRUE white spaces will be eliminated

Value

Character vector - with elements as characters after splitting by sep

Examples

parseArg("A, B, C", sep = ",")
#> [1] "A" "B" "C"