mx_caps: Search term wrapper that allows for different capitalization of term
Description
Inspired by the varying capitalization of "NCOV" during the
corona virus pandemic (e.g. ncov, nCoV, NCOV, nCOV), this function allows
for all possible configurations of lower- and upper-case letters in your
search term.
Usage
mx_caps(x)
Value
The input string is return, but with each non-space character
repeated in lower- and upper-case, and enclosed in square brackets. For
example, mx_caps("ncov") returns "[Nn][Cc][Oo][Vv]"
Arguments
x
Search term to be formatted
See Also
Other helper:
mx_crosscheck(),
mx_download(),
mx_export()