View source: R/btools_strings.r
str_extract_after_last | R Documentation |
Return portion of a string after last occurrence of a pattern
str_extract_after_last(s, last)
s |
A string. |
last |
Pattern to look for. |
Substring of s
after last occurrence of last
.
str_extract_after_last("ab#cde#yzy", "#") str_extract_after_last("abcde#yzy", "c")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.