System.Character.TCharHelper.IsDigit

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function IsDigit: Boolean; overload;
class function IsDigit(const S: string; Index: Integer): Boolean; overload; static;
class function IsDigit(C: UCS4Char): Boolean; overload; static;

プロパティ

種類 可視性 ソース ユニット
function public System.Character.pas System.Character TCharHelper

説明

UTF-16 文字が Unicode 仕様で数字(10 進数字)として定義されているかどうかを判定します。

このメソッドは、以下のようにオーバーロード(多重定義)されています。

  • UTF-16 文字が Unicode 仕様で 10 進数字として定義されている場合は、True を返します。
  • 文字列 S 内の Index に位置する文字が Unicode 仕様で 10 進数字として定義されている場合は、True を返します。
  • UCS4Char が Unicode 仕様で 10 進数字として定義されている場合は、True を返します。

関連項目