Learn R Programming

medparser (version 0.2.0)

PullStringFromTextSearch: PullStringFromTextSearch

Description

Pulls string following specified text

Usage

PullStringFromTextSearch(allText, text)

Value

stringValue

A character string where matches are searched for

Arguments

allText

Character string containing MPC file

text

A character string where matches are searched for

Author

Olivia Ortelli, Tony Colarusso

Examples

Run this code
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