Originally filed by [email protected] 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;
}