getstrbetween: getstrbetween function

View source: R/getstrbetween.R

getstrbetweenR 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


miscFuncs documentation built on Nov. 2, 2023, 5:21 p.m.