Description Usage Arguments Value Author(s) Examples
Extract the substring(s) between the left and right brackets where left is the last occurence of the left bracket before the first occurence of the right bracket
1 2 |
string |
character string to extract substring from |
left |
left bracket (character string) |
right |
right bracket (character string) |
includeLeft |
if TRUE include left bracket into the result string. Default is FALSE |
includeRight |
if TRUE include right bracket into the result string. Default is FALSE |
substring between the left and right brackets. If not found, returns empty string.
Roger Day, Alex Lisovich
1 2 3 4 5 6 | ## Not run:
# obtain an HTML page represented by a character string conversionPage
# then extract the link to the data file with extension 'txt':
fileName<-findInBrackets(conversionPage,"href=\"",".txt");
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.