Case options to pass to various Char
and String
methods such as upcase
or downcase
.
1
Only transform ASCII characters.
2
Use Turkic case rules:
'İ'.downcase(Unicode::CaseOptions::Turkic) # => 'i' 'I'.downcase(Unicode::CaseOptions::Turkic) # => 'ı' 'i'.upcase(Unicode::CaseOptions::Turkic) # => 'İ' 'ı'.upcase(Unicode::CaseOptions::Turkic) # => 'I'
4
Unicode case folding, which is more far-reaching than Unicode case mapping.
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
© 2012–2020 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/0.35.1/Unicode/CaseOptions.html