This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

AttributeName(pattern) (DEPRECATED)

This pages describes features, codes or syntax whose use is now DEPRECATED, i.e. not advised either for new or continued pre-existing use.

Deprecated aspects of Tinderbox may be supported on a legacy basis but the latter support can't be presumed to be indefinite. Therefore you should update your active TBX documents to latest practice as soon as practical.


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Boolean (query)   [other Boolean (query) operators]

 

 


DEPRECATED - From v5.7.0 this operator is deprecated in favour of the newer String.contains() operator.

AttributeName(pattern)

Returns true if the pattern (a regular expression or string literal) is found in the attribute AttributeName of the current note. This is used with String data type attributes, but can also be used with URL and File types.

List/Set type attributes can also be tested although the latter only compare complete discrete list values as opposed to matches within individual values as with a basic string match. More on attribute pattern matching.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Deprecated Usage : Deprecated Action Codes : AttributeName(pattern) (DEPRECATED)