powered by
Pulls string following specified text
PullStringFromTextSearch(allText, text)
A character string where matches are searched for
Character string containing MPC file
Olivia Ortelli, Tony Colarusso
file_path <- system.file("extdata", "ExampleMPCOutput.txt", package = "medparser") allText = readLines(file_path) SubjectID = PullStringFromTextSearch(allText, "Subject:")
Run the code above in your browser using DataLab