Wednesday, January 26, 2011

Join a string to another string, also known as string concatenation.

This code joins two strings and is known as concatenation


Dim FirstName As String
Dim LastName As String
Dim FullName As String

FirstName = “Vincent”
LastName= “Webb”
FullName = FirtName & LastName

MessageBox.Show(FullName)

1 comment:

  1. Can you jump in on this post and put the dims on separate lines? If I copy and paste as it as is, it's broken code. Email me what you are done. Also, please put it in a code formatted box or it will be a 3pt ding each time.

    ReplyDelete