Hi guys, im having trouble with my script about data adding to a variable, here is the scenario :

dim buff as string,message1 as string,message2 as string _
combineMessage as string,realMess as string
buff = "" <--- initial variable

for x = 1 to 10
message1=mid(realMess,x,1)
combineMessage=message1 & buff <--- combine the two message
buff=left(combineMessage,2) <--- get the data to be added for the next loop
next

what i wanted is after getting the buff data, its contents will be added to the combineMessage after the next loop, but what happens is the same buff data i being generated.