System.Character.IsPunctuation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Warning: IsPunctuation is deprecated. Please use TCharHelper.IsPunctuation.

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

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

See Also


Code Examples