Function AttributeLength(IdentifierName, AttributeName)

AttributeLength

The function AttributeLength returns the length of a string representation of a specified attribute for a given identifier.

AttributeLength(
     IdentifierName,       ! (input) scalar element parameter
     AttributeName         ! (input) scalar element parameter
     )

Arguments

IdentifierName

An element expression in the predefined set AllIdentifiers specifying the identifier for which an attribute length has to be returned.

AttributeName

An element expression in the predefined set AllAttributeNames specifying the attribute.

Return Value

This function returns the length of a string representation of the attribute on success or zero otherwise and the predeclared identifier CurrentErrorMessage contains an appropriate error message.

See also

The functions AttributeToString, AttributeContainsString.