How to concatenate String to Variables

When you want to concatenate or combine string to variable just use "&".

When you use constant string always enclose the string with ""
Example for string:
    "My Age is 21."

What if the is changing?
In this time, you need to use variable already.
Let's say the variable for the age is MyAge.

Example for string + variable MyAge:
This is how you combine.
   "My Age is " & MyAge & "."

I hope you understand in this short tutorial.





No comments:

Post a Comment