How can I evaluate such a sum:

$$
\sum\_{j=0, j\neq10}^{J} f(j)
$$

Since I am trying to do some symbolic calculations, solutions such as the one below are undesirable:

$$
-f(10) + \sum\_{j=0}^{J} f(j)
$$

Thanks.