rm_dup | R Documentation |
Remove consecutive duplicate characters in a string
rm_dup(x, ch)
x |
String |
ch |
Duplicated character to remove |
String with duplicates removed.
rm_dup("this_is_my__string", "_")
rm_dup("this.is.my..string", ".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.