ReplacingEverythingBefore | R Documentation |
RemoveParentName
Strips out everything up to and perhaps including a specific character.
ReplacingEverythingBefore(x, marker, include.marker = TRUE)
x |
A |
marker |
A |
include.marker |
Whether or not the |
A character
.
ReplacingEverythingBefore("foo$fog$x", "\\$")
ReplacingEverythingBefore("foo$fog$x", "\\$", FALSE)
ReplacingEverythingBefore("GiraffeDogCat", "Dog", FALSE)
ReplacingEverythingBefore("GiraffeDogCat", "Dog", TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.