Examples for 'stringi::stri_trans_tolower'


Transform Strings with Case Mapping or Folding

Aliases: stri_trans_tolower stri_trans_toupper stri_trans_casefold stri_trans_totitle

Keywords:

### ** Examples

stri_trans_toupper('\u00DF', 'de_DE') # small German Eszett / scharfes S
[1] "SS"
stri_cmp_eq(stri_trans_toupper('i', 'en_US'), stri_trans_toupper('i', 'tr_TR'))
[1] FALSE
stri_trans_toupper(c('abc', '123', '\u0105\u0104'))
[1] "ABC" "123" "ĄĄ" 
stri_trans_tolower(c('AbC', '123', '\u0105\u0104'))
[1] "abc" "123" "ąą" 
stri_trans_totitle(c('AbC', '123', '\u0105\u0104'))
[1] "Abc" "123" "Ąą" 
stri_trans_casefold(c('AbC', '123', '\u0105\u0104'))
[1] "abc" "123" "ąą" 
stri_trans_totitle('stringi is a FREE R pAcKaGe. WItH NO StrinGS attached.') # word boundary
[1] "Stringi Is A Free R Package. With No Strings Attached."
stri_trans_totitle('stringi is a FREE R pAcKaGe. WItH NO StrinGS attached.', type='sentence')
[1] "Stringi is a free r package. With no strings attached."

[Package stringi version 1.8.4 Index]