stri_extract_all_fixed(c('AaaaaaaA', 'AAAA'), 'a')
stri_extract_first_fixed(c('Yy\u00FD', 'AAA'), 'y', stri_opts_collator(strength=2, locale="sk_SK"))
stri_extract_last_fixed(c('Yy\u00FD', 'AAA'), 'y', stri_opts_collator(strength=1, locale="sk_SK"))
Run the code above in your browser using DataLab