Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for StringUtil.contains #129

Open
darronschall opened this issue Jul 28, 2010 · 0 comments
Open

Request for StringUtil.contains #129

darronschall opened this issue Jul 28, 2010 · 0 comments

Comments

@darronschall
Copy link
Contributor

Originally filed by to.s...@gmail.com on 2009-12-19T12:06:36

I would appreciate a "contains" method for Strings similiar to the Java method.

Basically it would like this:

public static function contains(s1:String, s2:String):Boolean
{
return s1.indexOf(s2) > -1;
}

josev pushed a commit to josev/as3corelib that referenced this issue Apr 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant