stri_count_charclass(c("stRRRingi","REXAMINE","123"), c("Ll", "Lu", "Zs"))
stri_count_charclass("\t\n", "WHITE_SPACE") # white space - binary property
stri_count_charclass("\t\n", "Z") # whitespace - general category (note the difference)
Run the code above in your browser using DataLab