Description Usage Arguments Examples
View source: R/string.R View source: R/.ipynb_checkpoints/string-checkpoint.R
Return everything between after last occurence of separator and end of the string.
1 2 | char.get_after_last_separator(string = "a.b?c.net", separator = ".",
include_sep_in_output = FALSE)
|
string |
A character string. |
separator |
Default ".". |
include_sep_in_output |
Optional. Include the separator in the output. Default FALSE. |
1 2 3 4 5 | str <- "I am smart enough, good looking enough, and gosh darn it; people like me."
char.get_after_last_separator(str, separator = ",")
[1] " and gosh darn it; people like me."
char.get_after_last_separator(str, separator = ",", include_sep_in_output = T)
[1] ", and gosh darn it; people like me."
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.