aspose file tools*
The moose likes JSP and the fly likes quick question about combining variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "quick question about combining variables " Watch "quick question about combining variables " New topic
Author

quick question about combining variables

Ilja Smoli
Ranch Hand

Joined: Dec 02, 2001
Posts: 64
Code:
String a = "123";
String b = "lala";
String c = a .b ; ???
I need that "c" output will be "123lala"
How?
thx in advance..
[ January 22, 2002: Message edited by: Ilja Smoli ]
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
this relates somehow to JSP???
use the concat method!
String c=a.concat(b);
 
 
subject: quick question about combining variables
 
Similar Threads
String + operator doubt?
inheritance query
operation parameters - uml question
Strings
How many objects