Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4076964

StringBuffer does not have a delete method

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.2
    • core-libs
    • None
    • x86
    • windows_95



      Name: joT67522 Date: 09/05/97


      The StringBuffer class is nearly useless without the ability to
      delete characters within the buffer other than truncating and
      then re-appending.

      A new method delete should be added

      StringBuffer.delete(int1, int2) - deletes int2 characters
                                        starting at int1

      Note: deleteing Zero characters SHOULD NOT be an error (makes
      programming simpler because you donot have to catch the null
      case).

      variant would be -
      StringBuffer.delete(int) - deletes single character at int
                                 executes as StringBuffer.delete(int,1)

      company - Cash Markets Group , email - ###@###.###
      ======================================================================

            mmcclosksunw Michael Mccloskey (Inactive)
            johsunw Joon Oh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: