In R, I have a list of files with characters, how do I know which file in the list contains a description, for example: "Test Word".
[[1]]
[1] "V:/Planej/2021/xv/02 Fev/x/Test Word"
[[2]]
[1] "V:/Planej/2021/xv/02 Fev/y/Test X"
[[3]]
[1] "V:/Planej/2021/xv/02 Fev/z/XXX"
[[4]]
[1] "V:/Planej/2021/xv/02 Fev/q/Plan"
There will only be one file that contains the word "Test World", and all of these files are "xlsx".