powered by
Get substrings from the lefthand side
leftstr(x, n)
character vector with leftside substrings of x
a character vector (or something having an as.character method)
a single number: if n>=0, the leftmost n characters of each element of x are selected, if n<0 the (-n) rightmost characters are omitted