EDI File Joiner – Setting Delimiters – JS

Index

    Setting Delimiters

    To set delimiters we use the ASCII number of the characters.

    Example

    const STAR = 42; //’*’
    const COLON = 58; //’:’
    const TILDA = 126; //’~’
    const CARET = 94; //’^’
     
    joiner.Delimiters.ElementTerminatorCharacter = STAR;
    joiner.Delimiters.CompositeTerminatorCharacter = COLON;
    joiner.Delimiters.SegmentTerminatorCharacter = TILDA;
    joiner.Delimiters.RepetitionCharactor = CARET;
    in EDI File Joiner – JS
    Did this article answer your question?