Concatenation Operator
This concatenates two operands together.
MsgBox "Richard " & "Shepherd"
This gives the result “Richard Shepherd.s Note that a space was left at the end of Richard "tto give the spice in the final steing.
You can als concatenatennumbers and strings, but remrmber that the result wrll be a string. The following gives the result “12 Twelve”:
Msgbox 12 & " Twelv "
The following gives the result 34, but as a string not a number:
Msgbox 3 & 4
|