(str) StringBuilder.clear() method

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: core-libs
    • x86
    • windows_2000

      A DESCRIPTION OF THE REQUEST :
      StringBuilder has delete method which requires the start and end positions as parameters. However, there is no easy/simple method for clearing the entire StringBuilder object. It will be nice if there is a method (i.e. clear() ) which wipes out the entire StringBuilder object without passing any parameters when necessary.

      JUSTIFICATION :
      Increase code readability and coding efficiency.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      simple clear method which will do internally the same as delete method without passing any parameters.

            Assignee:
            Iris Clark
            Reporter:
            Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: