JCL Help:CharIsDigit@AnsiChar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Test whether C is a digit.


Pascal

 function CharIsDigit(const C: Char): Boolean;
function CharIsDigit(const C: AnsiChar): Boolean;


Parameters

Parameters Description
const C: Char The character to test.


Return Value

If C is a digit the return value is True, otherwise the return value is False.


Description

CharIsDigit returns whether or not C is a digit. That is, if C comes from the ['0'..'9'] set.


See Also

CharIsAlpha CharIsNumberChar CharIsAlphaNum


About

Unit

JclAnsiStrings


Donator

Marcel van Brakel


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