Description Usage Arguments Details Value Author(s) Examples
Miscellaneous - Retreive grepexpr content
1 | getcontent(s, g)
|
s |
Input string. |
g |
A list that output from grepexpr() |
Retreive the content from the output of grepexpr() function.
A string
Yulong Niu niuylscu@gmail.com
1 2 3 | testStr <- 'wwwtax.cgi?mode=Info&id=593907'
regList <- gregexpr('\\d+', testStr)
getcontent(testStr, regList[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.