On Thursday, 8 January 2015 at 15:15:59 UTC, Robert burner Schadek wrote:

use canFind like such:
    bool a = canFind(strs,s) >= 1;

let the compiler figger out what the types of the parameter are.

canFind is work for such as :
 bool x = canFind(["exe","lib","a","dll"],"a" );
but can't work for canFind(["exe","lib","a","dll"],"hello.lib");

So  I very want to let the function 'indexOfAny' do the same work.

Thank you.

Frank

Reply via email to