PullStringFromTextSearch {medparser}R Documentation

PullStringFromTextSearch

Description

Pulls string following specified text

Usage

PullStringFromTextSearch(allText, text)

Arguments

allText

Character string containing MPC file

text

A character string where matches are searched for

Value

stringValue

A character string where matches are searched for

Author(s)

Olivia Ortelli, Tony Colarusso

Examples

file_path <- system.file("extdata", "ExampleMPCOutput.txt", package = "medparser")
allText = readLines(file_path)
SubjectID = PullStringFromTextSearch(allText, "Subject:")

[Package medparser version 0.1.0 Index]