Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

ToLower

Convert a character to lower case.

Declaration

Source position: utility.pas line 300

function ToLower(

  c: Char

):LongWord;

Function result

Lower case version of the input character.

Description

Converts a character to lower case, handling international character sets. Currently only works for ASCII characters. Would not be difficult to adapt for other character sets (Unicode for example).

Whenever locale.library is installed in a system, this function is replaced by language-specific code. This means that depending on which language the user has currently selected, a given character may return different results when passed to this function. This fact must be taken into consideration when using this function.

See also

ToUpper

  

Convert a character to upper case.


Documentation generated on: 2021-07-30