I have a variable with the following values:
Variable1 = "Apple, Banana, Pineaple, Grape, Coconut"
I would like to use the Replace to get the following result:
VariableX = "<span class="text1">Apple</span> <span class="text2">Banana</span> <span class="text1">Pineapple</span> <span class="text2">Grape</span> <span class="text1">Coconut</span>"
So, the first value gets text1, the second gets text2, the third gets text1, the forth gets text2 and so on, until the end.
text1, the second getstext2..."?