@kanunilabs/datagrid-react / sniffDelimiter
Function: sniffDelimiter()
sniffDelimiter(
text):string
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