You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/01/16 07:45:34 UTC

[jira] Closed: (LANG-257) Add new splitByWholeSeparatorPreserveAllTokens() methods to StringUtils

     [ https://issues.apache.org/jira/browse/LANG-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-257.
------------------------------

    Resolution: Fixed

svn ci -m "Applying my patch from LANG-257, adding Cameron Whitehead's desired splitByWholeSeparatorPreserveAllTokens methods. In addition to the patch, I've added @since 2.4 tags to the javadoc" src

Sending        src/java/org/apache/commons/lang/StringUtils.java
Sending        src/test/org/apache/commons/lang/StringUtilsTest.java
Transmitting file data ..
Committed revision 612367.

> Add new splitByWholeSeparatorPreserveAllTokens() methods to StringUtils
> -----------------------------------------------------------------------
>
>                 Key: LANG-257
>                 URL: https://issues.apache.org/jira/browse/LANG-257
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Cameron Whitehead
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: LANG-257.patch, StringUtils-enhancements.patch
>
>
> I added two methods I found helpful.
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator, int max)
> public static String[] splitByWholeSeparatorPreserveAllTokens(String str, String separator) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.