EDI File Loader 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 //’^’
     
    loader.Delimiters.ElementTerminatorCharacter = STAR;
    loader.Delimiters.CompositeTerminatorCharacter = COLON;
    loader.Delimiters.SegmentTerminatorCharacter = TILDA;
    loader.Delimiters.RepetitionCharactor = CARET;
    in EDI File Loader – JS
    Did this article answer your question?