View Single Post
  #2 (permalink)  
Old 07-18-2007, 02:21 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
As far as i see, you are interested in concatenating a string with an integer. Lets assume that you have a string variable str and an int variable i. You will need to create an Integer object from your int primitive value and concatanete as follows:

Code:
String combined = str + (new Integer(i).toString());
Reply With Quote