Function TParagraph.Compare(StartIndex:Integer; text:string; CaseSensitive:Boolean) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Parameters

  • StartIndex:Integer
  • text:string
  • CaseSensitive:Boolean

Returns

The type of the result value is Boolean.

Description

Quickly Compares a given string with the text at the given position. This function performs a quick and exact comparision, not checking for ANSI code pages