Skip to content

Commit c3f14be

Browse files
authored
Add detectDelimiter method to readme
1 parent c666f2d commit c3f14be

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ The following options are available to suit your needs:
8484
These options could be passed to the `open` and `save` methods, be set using the `options` method, or be set as the
8585
global default using the static `defaults` method.
8686

87+
The delimiter can be detected for a file by using the `detectDelimiter` method like this:
88+
```
89+
CsvCollection::detectDelimiter($path);
90+
```
91+
8792
#### Header
8893

8994
When using a header, lines will contain an associated array. Otherwise, lines will contain an indexed array.

0 commit comments

Comments
 (0)