Here's one way, but it converts to AAC
- Import your song to iTunes.
- Right click - Get Info
- Options tab
- Set start and finish time and click OK
- Right click on song, Convert to AAC
- New track created which is cropped appropriately.
Haven't used garageband, but it should be able to do it easily