combining strings
Posted: Sat Oct 13, 2007 7:03 pm
how can i take to strings and put them toget there like below. I want to take ex string1 and put it after string2 like string1 = hello string2 = world together = hello world.
but if i use + or & it trys to add them.
Code: Select all
Dim strSquad As String
Dim intTime As Integer
Dim intRemaining As Integer
Dim strAnswer As String
strSquad = Val(txtSquadname.Text)
intTime = Val(txtTime.Text)
intRemaining = Val(txtRemaining.Text)
strAnswer = strSquad & strSquad
Me.txtScript.Text = strAnswer