You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2015/05/07 21:31:00 UTC

[jira] [Resolved] (LANG-1135) Add method containsAllWords to WordUtils

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

Benedikt Ritter resolved LANG-1135.
-----------------------------------
    Resolution: Fixed

Fixed in commit 9604c853069562e8c4219ae27eaa4b2bad59eabc

> 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)