System.Character.IsDigit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsDigit(C: Char): Boolean;
function IsDigit(C: UCS4Char): Boolean;
function IsDigit(const S: string; Index: Integer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsDigit(System::WideChar C)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Character.pas
System.Character.hpp
System.Character System.Character

Description

Attention: IsDigit is deprecated. Please use TCharHelper.IsDigit.

Determines whether the UTF-16 character is defined as a digit in the Unicode specifications.

Returns true if the UTF-16 character is defined as a digit in the Unicode specifications.


For the definition of Digit and its relationship to Number, see: http://www.unicode.org/versions/Unicode5.2.0/ch04.pdf#G124206, The Unicode Standard, Version 5.2

See Also


Code Examples