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

ToLower

Convert a character to lower case.

Declaration

Source position: utility.pas line 190

function ToLower(

  character: LongWord

):Char;

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