trimuri | R Documentation |
trimuri(http://www.uri.org?where=foo)
returns http://www.uri.org
.Split a uri around the "?" or other character. For example,
trimuri(http://www.uri.org?where=foo)
returns http://www.uri.org
.
trimuri(uri, around = "?", fixed = TRUE, index = 1)
uri |
character, the uri to split |
around |
character,the character to split around |
fixed |
see |
index |
numeric, by default only the leading portion of the input is returned |
character of the input preceding the 'around' character
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.