Table of Contents

TCharAndPos Record

A simple structure containing a position and a character.

Syntax

Unit: FlexCel.Core

TCharAndPos = record;

Methods

Name Description
Equals True if both structs are the same.
GetHashCode Returns the hashcode for the object.

Operators

Name Description
Equality Adapts the = operator so it returns true when both instances have the same values.
Inequality Adapts the <> operator so it returns true when both instances have different values.

Properties

Name Description
Pos Position of the character in the string (0 based).
Char Character that should go at position. Note that if this is a surrogate pair (UTF32) the string might have 2 UTF16 characters.