How to replace "\\" with "\" in strings?

hey have you read my previous reply about using double bracket notation to form strings

it’s as simple as using [[ ]] instead of " "

Yes I read it, but I want it to do what nicemike40 said in post 44 & 45.