TTree draw()

Im trying to make something like this :

tree->draw(“x:y:z”," name.find(“test”) ") to do condition on a part of a string (which is in my tree) but can’t find any way to do this.

If someone’s got an idea.

thanks

hi,

Dotree->draw("x:y:z","strstr(name.c_str(),\"test\")")

Cheers,
Philippe.

thanks a lot that works .