Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 21-03-2009
Member
 
Join Date: Mar 2009
Posts: 89
String concatenation in VB6

Hi friends,

I am want to concatenate string in VB 6.I don't know how to do it can anyone help me out with this or can explain me with an example.I have tried a lot to find it over internet but it was of no use.

Thanks in Advance.


Amd 9550
915 MSI Motherboard with Intel chipset
1gb ram
300 gb HDD
Radeon 9550
Reply With Quote
  #2  
Old 21-03-2009
Member
 
Join Date: Dec 2008
Posts: 123
Re: String concatenation in VB6

Sure i will help you out with this for that you need to use the following code as an example for you.

Dim x As String = "Con" & "caten" & "ation"

Dim y As String = "Con" + "caten" + "ation"
The preceding statements set both x and y to "Concatenation".
Reply With Quote
  #3  
Old 21-03-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: String concatenation in VB6

There is one more way of doing it by following way.

Code:
Option Explicit  
Private Sub Form_Load()  
     Dim strCC1 As String  
     Dim strCC2 As String  
     Dim intNBR As Integer  
          intNBR = 1  

          strCC1 = "Concat &" & intNBR  
          strCC2 = "Concat +" + intNBR  
End Sub
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "String concatenation in VB6"
Thread Thread Starter Forum Replies Last Post
Concatenation of several large files Gafur Software Development 4 12-02-2010 10:58 AM
Bitwise Concatenation In Int Aakarshan.d Software Development 5 25-01-2010 02:41 PM
How to Manipulate String using PHP String Functions ComPaCt Software Development 3 21-09-2009 09:07 AM
String Comparision in vb.net In2TheBlues Software Development 3 24-06-2009 02:39 PM
String Concatenation in mySQL JPGargoyle Software Development 2 18-05-2009 10:38 AM


All times are GMT +5.5. The time now is 01:11 AM.