Search:

Type: Posts; User: GregBrannon

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,322

    Re: clearing StringBuilder

    // reinitialize an existing StringBuilder object empty
    stringBuilder = new StringBuilder();
  2. Replies
    6
    Views
    1,322

    Re: clearing StringBuilder

    Interesting. Technically, String objects are immutable, so "changing" one actually creates a new one unless the new version already exists in the String pool.

    Reinitialize it empty.
Results 1 to 2 of 2