Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-963

provide StringBuffer.putAt(Range) analogous to List.putAt(Range)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.0-JSR-3
    • groovy-jdk
    • None

    Description

      list = [0,1,2,3]
      list[0..2] = ['x']

      works fine while

      x = '0123' <<''
      x[0..2] = 'x'

      doesn't

      change comment: sorry I started this issue with "String" it should have been "StringBuffer"

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              codevise Dierk König
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: