Declaration:  TrimToArea(AreaPath, SegmentPath: String);
Trims the ends of a Segment object to the boundries of the given Area object.

Source Code:

TrimToArea('My Area Object', 'My Segment Object');