Manipulating a variable using sed (solved)

Hi,

My variable has value as this:
tvar1="bool_risk_enabled" Boolean "true"

Now I need to replace this true with false. Which is the best way to do this? Can we do this with sed command?

Please help me.

---------- Post updated at 05:23 PM ---------- Previous update was at 05:00 PM ----------

tvar3=$(echo ${tvar2} | sed -e's/true/false/')
echo ${tvar3}

This worked. Thanks to myself

${tvar1/true/false}

I'm getting below error, when I tried

${tvar1/true/false}

test5.sh: line 8: false: command not found