Trevixal API
    Preparing search index...

    Function detectTextSeparator

    • Pick the delimiter that appears on every line. Tabs win (a paste from a spreadsheet), then pipes (markdown), semicolons, commas, and finally runs of two or more spaces; when nothing fits, each line is one cell.

      Parameters

      • lines: readonly string[]

      Returns "tab" | "comma" | "semicolon" | "pipe" | "spaces" | null