JCL Help:CharToggleCase@AnsiChar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Reverses the case of a character.


Pascal

 function CharToggleCase(const C: Char): Char;
function CharToggleCase(const C: AnsiChar): AnsiChar;


Parameters

Parameters Description
const C: Char Character whose case to reverse.


Return Value

Copy of the character with the case reversed.


Description

CharToggleCase reverses the case of the supplied character. That is, if you pass an uppercase character the function converts it to lowercase, if you pass a lowercase character the function converts it to uppercase.


About

Unit

JclAnsiStrings


Donator

Azret Botash


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