Easily transform a character string into a vector of elements.

s2v(char, sep = " |\\n|\\t|\\r", wss = "_", print = FALSE)

Arguments

char

character to be transformed

sep

separator

wss

whitespace substitution. Which character will be used in the end to be converted into white space

print

if TRUE, will return a string that can be pasted in the console

Examples