Search code examples
nim-langtolower

How to change string case in NIM?


In NIM 0.17 toLower is deprecated. So, what would be the proper way of changing the case of a string in NIM?


Solution

  • strutils.toLowerAscii or unicode.toLower depending on which you want.