Description Usage Arguments Value
This is a convienence function that takes a bunch of character strings and returns a subset of them
corresponding to a start_text
and stop_text
term supplied by the user.
1 2 | grab_chunk(full_text, start_text = NULL, stop_text = NULL,
verbose = FALSE, ...)
|
full_text |
A character array of text to search through. |
start_text |
A word to mark the beginning of the chunk to be returned. If this is |
stop_text |
A word to mark the end of the chunk to be returned. If this is |
verbose |
Prints indices of start and stop for debugging (default is FALSE ) |
... |
Ignored |
Zero or more lines of text between start_text
and stop_text
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.