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 17:34:59 UTC

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

Benedikt Ritter created LANG-1135:
-------------------------------------

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