EDI Validator – 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; //’^’
     
    validator.Delimiters.ElementTerminatorCharacter = STAR;
    validator.Delimiters.CompositeTerminatorCharacter = COLON;
    validator.Delimiters.SegmentTerminatorCharacter = TILDA;
    validator.Delimiters.RepetitionCharactor = CARET;

     

    in EDI Validator – JS
    Did this article answer your question?