Function TWPTextObj.CompareName(aCompareName:string) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPTextObj

Parameters

  • aCompareName:string

Returns

The type of the result value is Boolean.

Description

This function returns true if the name is equal to the parameter aCompareName. aCompareName may include ONE '*' sign which matches any characters. The conversion is not case sensitive! If aCompareName = '!*' then the result is true, if the name is empty.