Why does split(qualityOf({value}), "Bad_NotFound”)
work but indexOf(qualityOf({value}), "Bad_NotFound”)
does not?
why must i use indexOf(toStr(qualityOf({value})), "Bad_NotFound”)
?
Example Binding
{
"type": "tag",
"config": {
"mode": "direct",
"tagPath": "",
"fallbackDelay": 2.5
},
"transforms": [
{
"expression": "split(qualityOf({value}), \"Bad_NotFound\")\r\n//indexOf(toStr(qualityOf({value})), \"Bad_NotFound\")\r\n//indexOf(qualityOf({value}), \"Bad_NotFound\")",
"type": "expression"
}
]
}