1
When extracting data from a pdf in R, extracting text line by line, I have the following situation. A string of interest that comes with three information separated by long spaces, as exemplified below
a <- "WDFG V/AA 8952 123546514 sdfasfasfa"
need to extract only "WDFG V/AA 8952"
Since there are many pdfs, you would need a method to insert a looping and scale the process.
thanks, solved the problem
– Henrique Faria de Oliveira
Rui, please could help me with an adaptation of the code to extract the first term of the string from the question as I edited it now, thankful I need to extract only "WDFG V/AA 8952"
– Henrique Faria de Oliveira
@Henriquefariadeoliveira I just tested and the response function does this, also with the new string.
– Rui Barradas