Learn R Programming

miscFuncs (version 1.5-9)

getstrbetween: 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)

Value

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

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?