[
https://issues.apache.org/jira/browse/LANG-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985610#comment-14985610
]
ASF GitHub Bot commented on LANG-1169:
--------------------------------------
Github user armandino commented on the pull request:
https://github.com/apache/commons-lang/pull/109#issuecomment-153098600
@rikles I resolved the conflicts. There's already a ticket
https://issues.apache.org/jira/browse/LANG-1169. Thanks, Arman.
> Add a StringUtils method to compare a string to multiple strings
> ----------------------------------------------------------------
>
> Key: LANG-1169
> URL: https://issues.apache.org/jira/browse/LANG-1169
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Arman Sharif
> Priority: Minor
>
> It would be nice to have a method that compares a string to multiple strings
> as follows:
> {code}
> StringUtils.equalsAny("baz", "for", "bar", "baz"); // true
> StringUtils.equalsAny("xyz", "for", "bar", "baz"); // false
> {code}
> I created a PR if there is an interest in adding this to the library:
> https://github.com/apache/commons-lang/pull/109
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)