Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6D4782009F9 for ; Mon, 23 May 2016 19:44:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 68CC0160A05; Mon, 23 May 2016 17:44:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AF2C8160A24 for ; Mon, 23 May 2016 19:44:15 +0200 (CEST) Received: (qmail 97209 invoked by uid 500); 23 May 2016 17:44: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 96998 invoked by uid 99); 23 May 2016 17:44:14 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 17:44:14 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8A9DA2C1F5D for ; Mon, 23 May 2016 17:44:14 +0000 (UTC) Date: Mon, 23 May 2016 17:44:14 +0000 (UTC) From: "BELUGA BEHR (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LANG-1237) StringUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 May 2016 17:44:16 -0000 BELUGA BEHR created LANG-1237: --------------------------------- Summary: StringUtils Key: LANG-1237 URL: https://issues.apache.org/jira/browse/LANG-1237 Project: Commons Lang Issue Type: New Feature Components: lang.text.* Reporter: BELUGA BEHR Create a StringSplit method that splits on defined boundaries. {code:java} /** * Used for fixed-length string formats * splitOnBoundary("HelloBigWorld", 4); * Returns ["Hello","BigWorld"] * * splitOnBoundary("HelloBigWorld", 4, 7); * Returns ["Hello","Big","World"] */ String[] splitOnBoundary(String str, int... boundary); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)