JCL Help:CharEqualNoCase@AnsiChar@AnsiChar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Test whether two characters are equal except possibly for case.


Pascal

 function CharEqualNoCase(const C1: Char; const C2: Char): Boolean;
function CharEqualNoCase(const C1: AnsiChar; const C2: AnsiChar): Boolean;


Parameters

Parameters Description
const C1: Char The first character to test. The second character to test.


Return Value

If the supplied characters are equal except for case, the result is True, otherwise the result is False.


Description

CharEqualNoCase determines whether two characters are equal except possibly for case differences. For example, 'a' and 'a' are obviously equal but so are 'a' and 'A'.


About

Unit

JclAnsiStrings


Donator

Anthony Steele


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page