AndreasBroager / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

Request for StringUtil.contains #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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;
}

Original issue reported on code.google.com by to.s...@gmail.com on 19 Dec 2009 at 12:06