powered by
Add a custom prefix to each word of a a line to create different spaces. Code in C++ (efficient).
add_prefix(texts, prefix)
a character containing the original text
unit character containing the prefix to add (length == 1) or character with same length than texts
character with prefixed words.
# NOT RUN { add_prefix(c("this is a test", "this is another test"), "#") # }
Run the code above in your browser using DataLab