Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tmachyshyn committed Jun 12, 2023
1 parent 25a9232 commit f084f78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ php command.php data-tool skipInvalidEmails --src="data/contacts.csv" --dest="da
- `dest`: Valid list saved to .csv file, e.g. "data/valid.csv".
- `invalidDest`: Invalid list saved to .csv file, e.g. "data/invalid.csv".
- `delimiter`: Delimiter of your .csv file.
- `cells`: List of cells wich data should be fixed, e.g. "Email Address, Work Email".
- `cells`: List of cells which data should be fixed, e.g. "Email Address, Work Email".

## 2. Fixing multiple data in one cell for .csv

This tool help to fix data when one cell contains multiple data.

### Example of input data

| First name | Last name | ... | Email Address | Pnone Number |
| First name | Last name | ... | Email Address | Phone Number |
|:----:|:----:|:----:| :----:| :----:|
| Test | Tester | .... | [email protected], [email protected], [email protected] | 089 123 123 12, 075 111 222 33 |

### Result

| First name | Last name | ... | Email Address | Email Address 2 | Email Address 3 | Pnone Number | Pnone Number 2 |
| First name | Last name | ... | Email Address | Email Address 2 | Email Address 3 | Phone Number | Phone Number 2 |
|:----:|:----:|:----:| :----:| :----:|:----:|:----:|:----:|
| Test | Tester | .... | [email protected] | [email protected] | [email protected] | 089 123 123 12 | 075 111 222 33 |

Expand All @@ -73,7 +73,7 @@ php command.php data-tool fixCellData --src="data/contacts.csv" --dest="data/con
- `dest`: Output .csv file, e.g. "data/dest.csv".
- `delimiter`: Delimiter of your .csv file.
- `delimiterInsideCell`: Delimiter inside a cell, e.g. "," for the data "[email protected], [email protected]".
- `cells`: List of cells wich data should be fixed, e.g. "Phone Number, Work Email".
- `cells`: List of cells which data should be fixed, e.g. "Phone Number, Work Email".

## 3. Get a column list of deleted fields

Expand Down

0 comments on commit f084f78

Please sign in to comment.