Variable1 = 12345
Variable2 = abcde
I want to append Variable2 onto the end of Variable1, such that Variable1 is now 12345abcde. Is this possible?
Thank you for your help!
How to append one variable to another?
Re: How to append one variable to another?
Variable1 = 12345
Variable2 = abcde
Variable = %Variable1%%Variable2%
MsgBox %Variable%
Variable2 = abcde
Variable = %Variable1%%Variable2%
MsgBox %Variable%
Re: How to append one variable to another?
Hallo,
or shorter:
or shorter:
Code: Select all
Variable1 = 12345
Variable2 = abcde
Variable1 .= Variable2
MsgBox % Variable1
Re: How to append one variable to another?
Variable1 .= Variable2 or Variable1 := Variable1 Variable2.
Use
Code: Select all
[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.
Who is online
Users browsing this forum: Google [Bot], Mannaia666 and 408 guests