Closed andreyorlov33 closed 7 years ago
Squash commits guys. There's too much going on in the commit history.
Do you need the 'replace' variable? Could it look like this:
let cleanUpLine = (data)=> {
let dirty = data.toString();
dirty
.replace(/, /g, ' ')
.replace(/","/g, ',')
.replace(/"/g, '')
.split(',')
return dirty
}
If that doesn't work, perhaps change the variable name from 'replace' to 'cleaned', as it's a bit clearer whats going on, and it won't be confused with a built in function name
Implemented a "cleanUpLine" function. The function runs inside the parser.
the output of the runRawData function now looks like this :
The AddressMaster function is now ready to be implemented