Find all letters in string1
which are not in string2
.
diff_two_strings
is adopted from package vecsets function vsetdiff,
it returns all letters in string1
which are not in string2
.
1 | diff_two_strings(string1, string2, multiple = TRUE)
|
string1 |
A string. |
string2 |
A string. |
multiple |
A logical variable with a default of TRUE. If multiple is TRUE, it will non-unique letters, otherwise, only unique letters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.