Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
concat
Graham Thorpe
Ranch Hand
Posts: 265
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
Can any body give idea how to concatinate two strings using arrays ?
Jim Yingst
Wanderer
Posts: 18671
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Arrays of what? Strings? Chars? Bytes? Something else?
"I'm not back." - Bill Harding,
Twister
Graham Thorpe
Ranch Hand
Posts: 265
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
Its arrays of Strings.
Shyam Prasad Murarka
Ranch Hand
Posts: 209
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear Readers,
I clearly cannot understand what your are asking but from what I have inderstood I will write a simple code:
String array[] = {"First", "Second"}; String result = array[0].concat(array[1]); //OR String result = array[0] + array[1];
With Best Regards,
Shyam Prasad Murarka
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
String Concatination
how many String objects are created
concatination of 3 fields in SQL query
String one true one false
AJAX with php
More...