Barry_Gavenda
Jun 24, 2019Nimbostratus
Variable in a string map
We are using a string map where we are replacing the value found with a variable. Sounds nice, but we can't get it to work. F5 just sends it the $variable (literally). Tried brackets, quotes, everything. Ideas on how to do this?
set variable = "xxxx"
set newpoolname [string map -nocase {"-app" $variable} $defaultpool]
result is -app is replaced with $variable (not xxx).