You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/02/25 20:28:28 UTC

[jira] Updated: (LANG-469) Commons-lang StringUtils head, tail and indexOfNth (with patch)

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

Niall Pemberton updated LANG-469:
---------------------------------

    Fix Version/s:     (was: 3.0)
                   2.5

> Commons-lang StringUtils head, tail and indexOfNth (with patch)
> ---------------------------------------------------------------
>
>                 Key: LANG-469
>                 URL: https://issues.apache.org/jira/browse/LANG-469
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Kalecser Pasquali Kurtz
>            Priority: Minor
>             Fix For: 2.5
>
>         Attachments: LANG-469.patch, StringUtils_head_tail_indexofnth.diff
>
>
> Hello commons developers,
> I would like to propose the addition of these four methods to StringUtils class:
> public static String head(final String str, int lines)
> public static String tail(String str, int lines)
> public static int indexOfNth(String str, String searchStr, int occurrence)
> public static int lastIndexOfNth(String str, String searchStr, int occurrence)

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