Paul King created GROOVY-11656: ---------------------------------- Summary: Create SGM#getLength methods for StringBuilder/StringBuffer Key: GROOVY-11656 URL: https://issues.apache.org/jira/browse/GROOVY-11656 Project: Groovy Issue Type: New Feature Reporter: Paul King Assignee: Paul King
This would allow arithmetic assignment operators to be used: {code:groovy} def sb = new StringBuilder() sb << 'foobar' sb.length -= 3 assert sb.toString() == 'foo' {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)