This JavaScript function parses the binding string passed as input and returns the attribute from the string.
getAttributeNameFromBinding(str)
str - Optional. String containing the binding string. If not passed, the function returns null.
Attribute portion of the binding string.