Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 42448 invoked from network); 12 Nov 2008 18:56:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 18:56:11 -0000 Received: (qmail 32863 invoked by uid 500); 12 Nov 2008 18:56:14 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 32761 invoked by uid 500); 12 Nov 2008 18:56:14 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 32739 invoked by uid 99); 12 Nov 2008 18:56:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 10:56:14 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 18:55:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94FCC234C28A for ; Wed, 12 Nov 2008 10:55:46 -0800 (PST) Message-ID: <2119873870.1226516146609.JavaMail.jira@brutus> Date: Wed, 12 Nov 2008 10:55:46 -0800 (PST) From: "Kalecser Pasquali Kurtz (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (LANG-469) Commons-lang StringUtils head, tail and indexOfNth In-Reply-To: <122905177.1226512184451.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LANG-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kalecser Pasquali Kurtz updated LANG-469: ----------------------------------------- Attachment: (was: StringUtils_head_tail_indexofnth.diff) > Commons-lang StringUtils head, tail and indexOfNth > -------------------------------------------------- > > Key: LANG-469 > URL: https://issues.apache.org/jira/browse/LANG-469 > Project: Commons Lang > Issue Type: Improvement > Reporter: Kalecser Pasquali Kurtz > Priority: Minor > Attachments: 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.