Search:

Type: Posts; User: tonynsx

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,345

    Re: clearing StringBuilder

    I tried

    new StringBuilder(), not working
    StringBuilder.replace(), also not working

    --- Update ---



    Not working for me for some reason!
  2. Replies
    6
    Views
    1,345

    Re: clearing StringBuilder

    so far, I've tried

    StringBuilder.setLength(0);

    But it still adds on to the old string

    --- Update ---

    I sent you a PM
  3. Replies
    6
    Views
    1,345

    clearing StringBuilder

    I'm using StringBuilder since I don't know how many times something could be added to a string.

    Is there a way to clear out the StringBuilder? As you can see below, the first time the program...
Results 1 to 3 of 3