HasText method

Applies to
TParagraph

Declaration
function HasText(const s: AnsiString; AlsoCheckChildren: Boolean = TRUE; CaseSensitive: Boolean = FALSE): Boolean;

Description
This function quickly checks if this paragraph or any of the child paragraphs contain the mentioned text. It can be used to locate paragraph with special tokens and can operate case sensitive or not case sensitive (default). To search for unicode strings use HasTextW. Also see function StartWith.

Category
Find Text


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com