473,698 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

concatenate 3 strings

2 New Member
I just wanted to concatenate 3 strings addr1,addr2,add r3 and should be placed again in addr1 help me
Jun 18 '07 #1
6 1553
r035198x
13,262 MVP
I just wanted to concatenate 3 strings addr1,addr2,add r3 and should be placed again in addr1 help me
Hi and welcome to TSDN. You should direct the question to the relevant forum. Which language are you using?
Jun 18 '07 #2
Elamathi
2 New Member
Hi and welcome to TSDN. You should direct the question to the relevant forum. Which language are you using?


I'm using SQL Server with VB.NET
plz help me to fix ths prob
Jun 19 '07 #3
r035198x
13,262 MVP
I'm using SQL Server with VB.NET
plz help me to fix ths prob
Therefore I'll move this to the VB forum .
Jun 19 '07 #4
debasisdas
8,127 Recognized Expert Expert
This one should be in .NET forum not in VB .
Jun 19 '07 #5
r035198x
13,262 MVP
This one should be in .NET forum not in VB .
Thanks for picking that up debas. My mistake.
Jun 19 '07 #6
Killer42
8,435 Recognized Expert Expert
I just wanted to concatenate 3 strings addr1,addr2,add r3 and should be placed again in addr1 help me
Are these database fields, and you want to update one to contain the others as well? Or are these just string variables, or what?

For database, I forget the SQL syntax for updating. For a string variable, it's easy. Addr1 = Addr1 & Addr2 & Addr3.
Jun 19 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

30
27031
by: priya | last post by:
Hi How to concatenate two integer Values. Example Program : #include "Port.h" #include "BinaryConversion.h" # include "iostream.h"
3
10538
by: Lars Tackmann | last post by:
Hi - I need a function to concatenate a variable number of strings. I have two ideas but cannot deside which way to go. 1) use the "stdarg" macros - if i use these macros it will be easy to step through the strings, but as I see it (and I may be wrong here)I need to pass the number of strings to the function - which is difficult in this context. 2) using a pointer array as argument to the function. Here the length is again a problem -...
13
2375
by: jt | last post by:
I can't seem to find a way to concatenate strings that have nulls within the string. I have a string that I need another string that has nulls in it and what to append the 2nd string, 3 string and so forth to the 1st string. Any ideas how to go about this? Thanks,
5
11243
by: Mr. Ken | last post by:
In my function, my main calls a function to save the data. In script-based languages like matlab, I can use multiple in strcat. However, in C++ it's not working since first argument of strcat must be the destination. How can I get arround?
14
27176
by: metamorphiq | last post by:
Hello, I'm a Java programmer, so I'm probably asking a very simple question here, but I have trouble solving it :) I'd like to know how you concatenate multiple (4, in my case) char* in C++, and have the result as a char*. I first tried using strcat, but you need a const char* as the second parameter to work, but I don't know all the issues regarding const chars, so maybe I overlooked something.
2
6678
by: exapplerep | last post by:
I've seen how to use VBA code to concatenate two fields into a third by using an expression in the "After Update" property in fields 1 & 2. field3 = field1 + field2 The above code would go into both fields 1 and 2. Here's the problem: It is possible that field1 may be blank (or may be made empty by the user). In this case, tabbing out of field1 (after emptying it, for example) also empties field3. Now tabbing out of
5
3548
by: Diego Martins | last post by:
Since C++ (and STL) have many ways to do string concatenation, I want to hear (read) from you how you do to concatenate strings with other strings and other types. The approaches I know are: -- ostringstream this does the job well, but: * all types involved have to support operator<< * we will lose some readibility in the code because we will always have to create a temp object to do the concatenation
13
21836
by: sinbad | last post by:
hi, how to concatenate a "hash defined" constant value to another "hash defined" constant string. For example #define ABC 100 #define MYSTR "The value of ABC is" Now i need a string that will concatenate the value of ABC to MYSTR . I need this at compile time.
6
13551
by: mark83anthony | last post by:
How do I concatenate strings from a column into a single row? Whats the logic to create the function in DB2. Given is below. Color ------ red orange
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.