Skip to content
Discussion options

You must be logged in to vote

If all the files you receive are standard like this, meaning it starts with a header row first column of Run Date and is done when a blank row is found, you can do this.

void Main()
{
   var s = @"

Brokerage

Run Date,Action,Symbol,Security Description,Security Type,Quantity,Price ($),Commission ($),Fees ($),Accrued Interest ($),Amount ($),Settlement Date
 03/31/2020, REINVESTMENT FIDELITY GOVERNMENT MONEY MARKET (SPAXX) (Cash), SPAXX, FIDELITY GOVERNMENT MONEY MARKET,Cash,6.05,1,,,,-6.05,
 03/31/2020, DIVIDEND RECEIVED FIDELITY GOVERNMENT MONEY MARKET (SPAXX) (Cash), SPAXX, FIDELITY GOVERNMENT MONEY MARKET,Cash,,,,,,6.05,
 03/25/2020, DIVIDEND RECEIVED FIDELITY MSCI FINLS INDEX ETF (FNC…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HansHKam
Comment options

Answer selected by HansHKam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants