commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1135) Add method containsAllWords to WordUtils
Date Thu, 07 May 2015 15:34:59 GMT
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)

Mime
View raw message