You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2016/05/23 17:44:14 UTC

[jira] [Created] (LANG-1237) StringUtils

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)