Class TXQCollation

Unit

Declaration

type TXQCollation = class(TObject)

Description

Class to perform string comparisons, so they different comparison rules can be used in different languages

Hierarchy

Overview

Fields

Public id: string;

Methods

Public constructor Create(const aid: string);
Public function compare(const a, b: string): TXQCompareResult;
Public function equal(const a, b: string): boolean; virtual;
Public function find(const strToBeExaminated, searched: string; out matchStart, matchLength: SizeInt): boolean; virtual;
Public function indexOf(const strToBeExaminated, searched: string): SizeInt; virtual;
Public function contains(const strToBeExaminated, searched: string): boolean; virtual;
Public function startsWith(const strToBeExaminated, expectedStart: string): boolean; virtual;
Public function endsWith(const strToBeExaminated, expectedEnd: string): boolean; virtual;
Public function key(s: string): string; virtual;

Description

Fields

Public id: string;
 

Methods

Public constructor Create(const aid: string);
 
Public function compare(const a, b: string): TXQCompareResult;
 
Public function equal(const a, b: string): boolean; virtual;
 
Public function find(const strToBeExaminated, searched: string; out matchStart, matchLength: SizeInt): boolean; virtual;
 
Public function indexOf(const strToBeExaminated, searched: string): SizeInt; virtual;
 
Public function contains(const strToBeExaminated, searched: string): boolean; virtual;
 
Public function startsWith(const strToBeExaminated, expectedStart: string): boolean; virtual;
 
Public function endsWith(const strToBeExaminated, expectedEnd: string): boolean; virtual;
 
Public function key(s: string): string; virtual;
 

Generated by PasDoc 0.16.0.