String case: Difference between revisions

m
Minor adjustment to general comment.
(Replaced "toLower" with "toLowerAscii", "toUpper" with "toUpperAscii" and "capitalize" with "capitalizeAscii". Added a general comment.)
m (Minor adjustment to general comment.)
Line 1,838:
 
=={{header|Nim}}==
In the following example, we use the ASCII version of the procedures to convert to lower case, to convert to upper case or to normalizecapitalize. In module “unicode” there exists also three procedures "toLower", "toUpper" and "titlecapitalize" which can do the same thing for UTF-8 encoded strings.
 
<lang nim>import strutils
Anonymous user