You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/05/07 17:35:00 UTC
[jira] [Commented] (LANG-1135) Add method containsAllWords to
WordUtils
[ 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)