System.Character.TCharHelper.IsPunctuation
Delphi
function IsPunctuation: Boolean; overload;
class function IsPunctuation(const S: string; Index: Integer): Boolean; overload; static;
class function IsPunctuation(C: UCS4Char): Boolean; overload; static;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Character.pas | System.Character | TCharHelper |
説明
UTF-16 文字が Unicode 仕様で句読点として定義されているかどうかを判定します。
このメソッドは、以下のようにオーバーロード(多重定義)されています。
- 文字が Unicode 仕様で句読点として定義されている場合は、True を返します。
- 文字列 S 内の Index に位置する文字が Unicode 仕様で句読点として定義されている場合は、True を返します。
- UCS4Char が Unicode 仕様で句読点として定義されている場合は、True を返します。