commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LANG-1014) Adding unwrap and unwrapFull methods to StringUtils
Date Mon, 31 Oct 2016 19:12:58 GMT

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

Pascal Schumacher closed LANG-1014.
-----------------------------------
       Resolution: Duplicate
         Assignee: Pascal Schumacher  (was: Benedikt Ritter)
    Fix Version/s:     (was: Discussion)
                       (was: Review Patch)

Added only the two argument unwrap methods (as requested in [LANG-1155]) which nicely mirror
the existing wrap methods. I'm closing this issue as a duplicate (after having resolved [LANG-1155]).

> Adding unwrap and unwrapFull methods to StringUtils
> ---------------------------------------------------
>
>                 Key: LANG-1014
>                 URL: https://issues.apache.org/jira/browse/LANG-1014
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Thiago Andrade
>            Assignee: Pascal Schumacher
>              Labels: github
>
> Placeholder ticket for github PR 136: https://github.com/apache/commons-lang/pull/136
> Adding the following methods from StringUtils:
> {code:java}
>     public static String unwrap(String str, char unwrapChar)
>     public static String unwrapFull(String str, char unwrapChar)
>     public static String unwrap(String str, String unwrapStr)
>     public static String unwrapFull(String str, String unwrapStr)
>     public static String unwrap(String str, String unwrapLeft, String unwrapRight)
>     public static String unwrapFull(String str, String unwrapLeft, String unwrapRight)
> {code}
> These methods unwraps (fully or not) the string parameter. See pull request for usage
examples.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message