Description Usage Arguments Value
Search for specified pattern in provided string; if found returns a 22 character long random string otherwise return original string.
1 | combine_random_string_if_pattern(string, regex)
|
string |
A character string. |
regex |
Character string regex specifying the pattern to look for in
|
A length 1 character string vector: 22 character long random string
if regex
found in string
, string
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.