Shample Intel
Menu
Catalog quality guide

Detect a catalog delimiter before checking its columns

Test a semicolon-delimited practice feed and learn how comma, semicolon, tab and pipe detection interacts with header recognition.

File formatsUpdated Guide slug: semicolon-and-tab-catalog-files

The issue to look for

A file with a CSV extension can use semicolons or tabs. Interpreting it as comma-separated may collapse the whole row into one cell and hide recognized identifiers.

What this check can tell you

The downloadable semicolon fixture validates a real Item # alias, quantity and cost. Regression checks also run a tab-delimited variant through the same parser.

A transparent review

  1. Inspect raw text to identify likely separators without changing punctuation inside descriptions.
  2. Run the semicolon example and confirm Item # remains a separate header.
  3. For a tab variant, replace only the three delimiter positions per record with actual tab characters.
  4. Check the recognized columns and one-row result before processing a larger file.

How to read the result

  • The parser compares comma, semicolon, tab and pipe candidates using recognizable headers from the initial window. It does not decide solely from the filename extension or the first punctuation character.
  • A decimal comma is a separate numeric-format issue. Correct delimiter detection does not make a value such as 12,50 a supported US decimal cost. Keep file syntax and numeric meaning as distinct checks.

Limits to keep in view

  • Ambiguous or mixed-delimiter files may need a consistent source re-export.
  • Fields after the header must have consistent widths.
  • The browser cleaner accepts CSV, TXT, TSV and XLSX; email intake documents CSV and XLSX only.
Illustrative sample

Synthetic fixture: synthetic-delimiter.csv

This small synthetic example makes the transformation and observation visible. It is an educational illustration, not a claim that a supplier file or external registry was verified.

Fixture ID
delimiter
Published fixture reference
delimiter
Filename
synthetic-delimiter.csv
Encoding
UTF-8
Options
{"repairUpcs":true,"removeZeroStock":false,"removeZeroCost":false}

Input

Item #;Description;Available;Cost
DELIM-1;Cable clip;9;2.75

Output

{
  "checks": {
    "totalRows": 1,
    "invalidQuantities": 0,
    "invalidCosts": 0
  },
  "cleanedRows": [
    {
      "Item #": "DELIM-1",
      "Description": "Cable clip",
      "Available": "9",
      "Cost": "2.75"
    }
  ]
}

Observation: The parser detects semicolons rather than treating the whole header as one field. Tab-delimited exports use the same detection path.

Download synthetic fixture

Sources