get_prefix.Rd
Strip out the first several characters from a column
get_prefix(.x, .col, .len)
the input data frame
the character column to extract the prefix from
the length of the prefix
a new data frame with a column, “prefix“ inserted before “.col“
hiRx:::get_prefix( tibble::tribble(~Text, "hello", "world"), Text, 3 )