commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-1135) Add method containsAllWords to WordUtils
Date Thu, 07 May 2015 15:35:00 GMT

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

ASF GitHub Bot commented on LANG-1135:
--------------------------------------

Github user britter commented on the pull request:

    https://github.com/apache/commons-lang/pull/81#issuecomment-99912803
  
    Your placeholder Jira issue is https://issues.apache.org/jira/browse/LANG-1135. Please
create a Jira for bigger contributions as documented in CONTRIBUTING.md. Thank you!


> Add method containsAllWords to WordUtils
> ----------------------------------------
>
>                 Key: LANG-1135
>                 URL: https://issues.apache.org/jira/browse/LANG-1135
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.text.*
>            Reporter: Benedikt Ritter
>            Assignee: Benedikt Ritter
>              Labels: github
>             Fix For: 3.5
>
>
> Placeholder for https://github.com/apache/commons-lang/pull/81
> {quote}
> Checks if the String contains all words.
> {code:java}
> StringUtils.containsAllWords("lorem ipsum dolor sit amet", "ipsum", "lorem", "dolor")
== true
> StringUtils.containsAllWords("lorem ipsum dolor sit amet", "ipsum", null, "lorem", "dolor")
== false
> StringUtils.containsAllWords("ab", "b") == false
> {code}
> {quote}



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

Mime
View raw message