System.Character.TCharHelper.IsInArray

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsInArray(const SomeChars: array of Char): Boolean; overload;
class function IsInArray(const S: string; Index: Integer; const SomeChars: array of char): Boolean; overload; static;

Properties

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

Description

Determines whether the UTF-16 character is in the specified array.

This method is overloaded:

  • Returns True if the character is found in the specified array.
  • Returns True if the character at Index in string S is found in the specified array.

See Also