<%J:```javascript
var attrString = roam42.smartBlocks.activeWorkflow.vars["attributeString"];
var attrValPair = attrString.split("::");
var attrValue = attrValPair.pop().trim();
roam42.smartBlocks.activeWorkflow.vars["attributeValue"] = attrValue;
return "";```%> <%NOBLOCKOUTPUT%>
📋 Describe the SmartBlock
This SmartBlock reads the block reference of an attribute-value pair from the clipboard and returns the value - the part to the right of the :: - in a variable called attributeValue.
✅ Describe any prerequisites or dependencies that are required for this SmartBlock
The block reference of the block containing the attribute-value pair must be in the clipboard.
📷 Screenshot of your 42SmartBlock workflow/template from Roam
✂️ Copy of your 42SmartBlock from Roam
📋 Describe the SmartBlock
This SmartBlock reads the block reference of an attribute-value pair from the clipboard and returns the value - the part to the right of the :: - in a variable called attributeValue.
✅ Describe any prerequisites or dependencies that are required for this SmartBlock
The block reference of the block containing the attribute-value pair must be in the clipboard.
📷 Screenshot of your 42SmartBlock workflow/template from Roam
💡 Additional Info
[label_example]