Search:

Type: Posts; User: raghu3.ankam

Search: Search took 0.07 seconds.

  1. Replies
    4
    Views
    7,333

    Re: Java String value increment

    thanks..
  2. Replies
    4
    Views
    7,333

    Re: Java String value increment

    Code is something like..
    String s = "00008";
    int i =Integer.parseInt(s);
    System.out.println("i.."+i); // 8
    String s1 = String.format("%05d",i);
    System.out.println("s1......."+s1); // 00008
    ...
  3. Replies
    4
    Views
    7,333

    Java String value increment

    Java-code --
    String value = 00008, increment something like 00008 to 00009.
    If anyone can help me here I'd greatly appreciate it, thanks!
Results 1 to 3 of 3