casecmp method : casecmp « String « Ruby






casecmp method


"a".casecmp "A" # => 0

 

Related examples in the same category

1.Case insensitive comparison. (ASCII text only)