powered by
Extract the left or right substrings in a character vector.
left(string, n) right(string, n)
A character vector.
How many characters.
# NOT RUN { left("hello", 3) # }
Run the code above in your browser using DataLab