Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

quick question about combining variables

 
Ilja Smoli
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this relates somehow to JSP???
use the concat method!
String c=a.concat(b);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic