Skip to content

Commit 2711166

Browse files
authored
Merge pull request #3 from DutchCodingCompany/add-detect-delimiter-readme
Add detectDelimiter method to readme
2 parents c666f2d + c3f14be commit 2711166

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)