I have a variable with value as
I would like to convert that as in a bash script.
var="t1.a=t2.a AND t1.a=t2.b AND t1.c=t2.c"
I tried to split the string into an array iterate through the elements but could not able to generate the desired string.
Can anyone please help.