[ 
https://issues.apache.org/jira/browse/LANG-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299525#comment-15299525
 ] 

Loic Guibert commented on LANG-1237:
------------------------------------

This feature is similar (but not same) with those in the LANG-1124 : Add split 
by length methods in StringUtils.
I open it like an year ago, and there is a discussion on it.

I think we can group the discussions and remarks onto these
features to get homogeneous behaviors.

> String Split For Fixed-Length Strings
> -------------------------------------
>
>                 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)

Reply via email to