if (stri_install_check(silent=TRUE))
stri_detect_fixed(c("stringi R", "REXAMINE", "123"), c('i', 'R', '0'))
if (stri_install_check(silent=TRUE))
stri_detect_fixed(c("stringi R", "REXAMINE", "123"), 'R')
Run the code above in your browser using DataLab