The easiest way to truncate a sound file is in the Workspace menu Special > Soundfile > Truncate .

Enter the name of the segment you wish to keep and press OK. Note that the file which is currently selected in the Overview is truncated. Metadata addressing truncated parts of the signal are not removed.
If you wish to truncate the whole file (remove all signal data), check the Truncate whole file box.