• Login
    • Stedi.com

    Recommended component delimiter

    General
    2
    2
    46
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eliot.slevin last edited by

      When making a Stedi guide, the default component delimiter is set to >

      However, the X12 recommendation is to use \ as the component separator, which is noted as being "chosen for its infrequency of use in textual data."

      Is there any good reason to choose one over the other? Is there a standard choice the industry prefers?

      R 1 Reply Last reply Reply Quote 0
      • R
        ross @eliot.slevin last edited by

        @eliot-slevin I see a variety of delimiters used in practice. > is popular, as is :, ^ and <. Many EDI platforms use : as the default.

        The important rule to remember is that the delimiters cannot show up in your textual data. If you know that your text data uses mathematical symbols then > and < is probably not a good choice, and : or \ would be better. But, if you know your text data includes time values in the format HH:MM:SS you may want to avoid :.

        Communicate with the business groups owning the data being sent. Clearly communicate the character restrictions and get company buy-in, and agree on substitution characters when a delimiter is found in textual data.

        Finally, if you are receiving EDI, be very open to the delimiters you allow. The sending party will understand the data being sent and the restrictions, and they have likely done upfront work to ensure there are no conflicts.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors