Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / sniffDelimiter

Function: sniffDelimiter()

sniffDelimiter(text): string

Defined in: datagrid-core/dist/index.d.ts:4166

Pick the delimiter that yields the most CONSISTENT field count across the first few lines. Counting occurrences alone is fooled by prose containing commas; consistency is what actually identifies the separator.

Parameters

text

string

Returns

string