You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thiago Andrade (JIRA)" <ji...@apache.org> on 2016/05/11 11:47:12 UTC

[jira] [Updated] (LANG-1014) Adding unwrap and unwrapFull methods to StringUtils

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

Thiago Andrade updated LANG-1014:
---------------------------------
    Description: 
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.

  was:
Placeholder ticket for github PR 25: https://github.com/apache/commons-lang/pull/25

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.


> 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: Benedikt Ritter
>              Labels: github
>             Fix For: Review Patch, Discussion
>
>
> 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)