Use the Trim command to trim lines or walls where they intersect with another object.
To trim objects:
If necessary, position the trimming object over the object to be trimmed.
Select the trimming object.
Select Modify > Trim.
Click the object to be trimmed.
The trim command is executed and the pieces can be moved independently.
~~~~~~~~~~~~~~~~~~~~~~~~~