Weird that, in 2022, Ruby still doesn’t have a fold-case method for Strings.

Oops, turns out that there is case folding, but you have to call .upcase(:fold) or .downcase(:fold), which is wakadoo.

*****
Written on