File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: quick question about combining variables