Hi. im trying to replace observations of a string variable from another string variable (Both the string variable contains data from multi select questions. Even though both the variables are string i get a message 0 real changes made.

The code im trying to run is replace var1 = var2 if var1 == "."

The data looks like below,

var 1
1 2 3
.
6 2 1
.

var 2
.
4 5 6
.
4 2 1

I would want a variable that looks like,

var1

1 2 3
4 5 6
6 2 1
4 2 1