From: patrickchamberlain <pat...@ya...> - 2003-10-14 07:42:03
|
one way is myString = "abc" myNumber = 2 my concatenatedString = myString + string.atoi(myNumber) patrick On Mon, 2003-10-13 at 22:40, Vijay Mulimani wrote: > Hi All, > I have just started using Jython and do not have have a very deep knowledge about it. I am facing problem in concatenating a string value with a numeric value. > Example- The string is stored in a variable, and there is another variable which has a numeric value, I want to concatenate the string and numeric value. > I tried but it's not as same as in Java. > Some might find this Q as a very silly and basic !!! But help is appreciated. > > Thanks in advance. > > Vijay > > ********************************************************* > Disclaimer > > This message (including any attachments) contains > confidential information intended for a specific > individual and purpose, and is protected by law. > If you are not the intended recipient, you should > delete this message and are hereby notified that > any disclosure, copying, or distribution of this > message, or the taking of any action based on it, > is strictly prohibited. > > ********************************************************* > Visit us at http://www.mahindrabt.com > |