.cutAtSearch: Search character-string and cut either before or after
Description
This function extracts/cuts text-fragments out of txt
following specific anchors defined by arguments cutFrom
and cutTo
.
Usage
.cutAtSearch(
x,
searchChar,
after = TRUE,
silent = TRUE,
debug = FALSE,
callFrom = NULL
)
Value
This function returns a modified character vector
Arguments
- x
character vector to be treated
- searchChar
(character) text to look for
- after
(logical)
- silent
(logical) suppress messages
- debug
(logical) additional messages for debugging
- callFrom
(character) allow easier tracking of messages produced