I would like to define a local based on a string in another local:
But I get the error local not found.
Code:
foreach outcome in out_num out_can {
if strpos("`outcome","num")>0 local title = "Title A"
else if local title = "Title B"
}

Comment