getstrbetween {miscFuncs}R Documentation

getstrbetween function

Description

A function used in web scraping. Used to simplify the searching of HTML strings for information.

Usage

getstrbetween(linedata, start, startmark, endmark, include = FALSE)

Arguments

linedata

a string

start

integer, where to start looking in linedata

startmark

character string. a pattern identifying the start mark

endmark

character string. a pattern identifying the end mark

include

include the start and end marks?

Value

the first string after start and between the start and end marks


[Package miscFuncs version 1.5-8 Index]