Karol, I don't know if I understood you well. You want to trim just part of wall or what? If so, it is easy, just split your wall on two parts: first one needs to be splitted, and rest without edits.
If this is not answer you need, please be more precise in your question.