commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-275) Add a pair of StringUtils.substringsBetween;String[] methods
Date Thu, 07 Sep 2006 04:56:23 GMT
    [ http://issues.apache.org/jira/browse/LANG-275?page=comments#action_12433020 ] 
            
Henri Yandell commented on LANG-275:
------------------------------------

Thanks Mike,

Currently substringBetween only returns the first match. So from:

StringUtils.substringBetween("[one], [two], [three]", "[", "]")

it would return "one".

I want to get String[] { "one", "two", "three" }



> Add a pair of StringUtils.substringsBetween;String[] methods
> ------------------------------------------------------------
>
>                 Key: LANG-275
>                 URL: http://issues.apache.org/jira/browse/LANG-275
>             Project: Commons Lang
>          Issue Type: Wish
>            Reporter: Henri Yandell
>            Priority: Minor
>             Fix For: 3.0
>
>
> I found myself wanting a version of substringBetween(String, String, String) that would
return a String[] of the ones between and not just the single String for the first match.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message