func (sd StructuredData) String() string {
	if len(sd) == 0 {
		return "-"
	}

	elems := make([]string, len(sd))
	for i, elem := range sd {
		elems[i] = structuredDataElementString(elem)
	}
	return strings.Join(elems, "")
}
// String returns the RFC 5424 representation of the structured data.
String returns the RFC 5424 representation of the structured data.
// String returns the RFC 5424 representation of the structured data .
func (sd StructuredData) String() string {
	if len(sd) == 0 {
		return "-"
	}
	elems := make([]string, len(sd))
	for i, elem := range sd {
		elems[i] = structuredDataElementString(elem)
	}
	return strings.Join(elems, "")
}
func ( sd StructuredData ) String ( ) string { if len ( sd ) == 0 { return " " } elems := make ( [ ] string , len ( sd ) ) for i , elem := range sd { elems [ i ] = structuredDataElementString ( elem ) } return strings . Join ( elems , " " ) }
String returns the RFC 5424 representation of the structured data.
String returns the RFC 5424 representation of the structured data .