Framework EDI Reference. Methods and Properties
ediDataSegment. SegmentTerminator

Gets the segment terminator string or character that separates this Data Segment from other Data Segments in the document.

Syntax:

Remark:

In X12, the character commonly used as a segment terminator is the tilde (~); in UN/EDIFACT, it is the single apostrophe (').

Example:

Dim oSegment As Fredi.ediDataSegment
...

sSegmentTerminator = oSegment.SegmentTerminator

Sample

Visual Basic program displaying Data Segment properties