• VishalParikh
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi guys,

 

my problem is there are two strings with some value i need to remove the zeros before the number and add both the strings .

 

Ex:-

String S=000578;

String j=080554321;

String k=s+j    ( not addition);

k                                 =  s    +     j;

57880554321        =   578+ 80554321;

 

it means it shoul remove all the zeros before the number.

Some times s=0578;

                        j=00080554321;

 

then also the out put should be same as above "k"

 

 

 

Thanks

frank