PullStringFromTextSearch {medparser} | R Documentation |
Pulls string following specified text
PullStringFromTextSearch(allText, text)
allText |
Character string containing MPC file |
text |
A character string where matches are searched for |
stringValue |
A character string where matches are searched for |
Olivia Ortelli, Tony Colarusso
file_path <- system.file("extdata", "ExampleMPCOutput.txt", package = "medparser")
allText = readLines(file_path)
SubjectID = PullStringFromTextSearch(allText, "Subject:")