- Function AttributeContainsString(IdentifierName, AttributeName, Key)¶
AttributeContainsString¶
The function AttributeContainsString
returns 1 if the string representation of a specified attribute for a
given identifier contains the specified text (case sensitive).
AttributeContainsString(
IdentifierName, ! (input) scalar element parameter
AttributeName ! (input) scalar element parameter
Key ! (input) scalar string expression
)
Arguments¶
- IdentifierName
An element expression in the predefined set
AllIdentifiers
specifying the identifier.- AttributeName
An element expression in the predefined set
AllAttributeNames
specifying the attribute.- Key
A string specifying the text to search for.
Return Value¶
1 if the attribute text contains the Key string (always case sensitive), 0 otherwise. In case of failure, the return value is 0 and the predeclared identifier
CurrentErrorMessage
contains an appropriate error message.
See also
The functions AttributeToString
, AttributeLength
, function me::GetAttribute
.