Joining Strings

Index

    Joining Strings

    EDIFileJoiner is capable of joining any number of X12 EDI strings into one.

    Example

    EDIFileJoiner joiner = new EDIFileJoiner();
    joiner.AutoDetectDelimiters = true;
     
    // Join the strings at the ST header level
    joiner.FileJoinLevel = FileJoinLevel.HEADER;

    // Specify the list of files to join
    List<string> dataList = new List<string>();
    dataList.Add(“ISA*….”);
    dataList.Add(“ISA*….”);
    dataList.Add(“ISA*….”);
    dataList.Add(“ISA*….”);

    // Join the strings
    string combinedEDIStrings = joiner.JoinStrings(dataList);
    in EDI File Joiner
    Did this article answer your question?