AttributeAsInteger

Function AttributeAsInteger(expression: String, index: String) : Integer
Returns an Integer extracted from the expression.

This function extracts an Integer from an expression such as "<item attribute1="value" attribute2="value" />" where index is the attribute name, and the result is the value.

For an example, see ExpressionAttributes.