func (b *BasicMessage) FindSegment(segmentID string) segment.Segment {
	for _, segment := range b.HBCIMessage.HBCISegments() {
		if segment.Header().ID.Val() == segmentID {
			return segment
		}
	}
	return nil
}
// FindSegment returns the segment found for the segmentID, or nil if not
// found. The first matching segment will be returned.
FindSegment returns the segment found for the segmentID, or nil if not
found. The first matching segment will be returned.
// FindSegment returns the segment found for the segmentID or nil if not // found . The first matching segment will be returned .
func (b *BasicMessage) FindSegment(segmentID string) segment.Segment {
	for _, segment := range b.HBCIMessage.HBCISegments() {
		if segment.Header().ID.Val() == segmentID {
			return segment
		}
	}
	return nil
}
func ( b * BasicMessage ) FindSegment ( segmentID string ) segment . Segment { for _ , segment := range b . HBCIMessage . HBCISegments ( ) { if segment . Header ( ) . ID . Val ( ) == segmentID { return segment } } return nil }
FindSegment returns the segment found for the segmentID, or nil if not
found.
FindSegment returns the segment found for the segmentID or nil if not found .