Conditional Substitute command

I am trying to figure out how to write a conditional substitution of the form:

substitute(_, \partial_{i}{A??}{B??} -> 0, if B?? is member of set C)

where C = {VB_{i}, VE_{i}, TE_{i}, partial_{#}{VB_{i}}, etc.}

Is this possible?

Thanks

James

I knew this was coming, now you are approaching the problem from the other end of the scale ;-) You can do some basic conditionals in substitute, but not what you want. I think this is something for a feature list post 2.2.0 release which we are preparing right now.