phraseFinderRemover: Find the words in between two words

View source: R/phraseFinderRemover.R

phraseFinderRemoverR Documentation

Find the words in between two words

Description

This function allows you to look for a phrase that is bounded by two words and remove some of it

Usage

phraseFinderRemover(
  stringList = "",
  firstword = "",
  lastword = "",
  words.to.remove = 0
)

Arguments

stringList

all of the page as a string list

firstword

the first word you are searching for

lastword

the last word you are searching for

words.to.remove

number of words to remove from the end of a string

Examples

phraseFinderRemover()

seanbergin/srp documentation built on Aug. 7, 2023, 12:31 p.m.