funcao para apagar o vetor de texto a partir do início de certo padrão de txt

strip_txt(txt, criteria, to_end = TRUE)

Arguments

to_end

If TRUE, erases from criteria to the end of text. if FALSE, erases from the begin to the criteria