You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Akerman (JIRA)" <ji...@apache.org> on 2013/05/10 18:51:15 UTC
[jira] [Created] (LANG-892) Create a StringBuilderUtils.replaceAll
function
Michael Akerman created LANG-892:
------------------------------------
Summary: Create a StringBuilderUtils.replaceAll function
Key: LANG-892
URL: https://issues.apache.org/jira/browse/LANG-892
Project: Commons Lang
Issue Type: Wish
Components: lang.*
Affects Versions: 3.2
Reporter: Michael Akerman
Fix For: 3.2
java.lang.StringBuilder doesn't have a very good replace function.
I like using StringBuilderUtils.replaceAll when I want to do a lot of replacements on a single copy and not burn up a lot of memory creating new Strings for each replacement.
I'm not familiar with how to offer this code the official way. Here it is in pastebin:
http://pastebin.com/fqKMJ4Y8
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira