hi there i have amde a script that scrapes the data from a file then strips the html tags from it and outputs in it the form
1. first part of the set
1. second part of set 1
etc
using the console.writeli ne
i.e
Console.WriteLi ne(_rowCount + "\t" + thechar.Unicode Number);
Console.WriteLi ne(_rowCount + "\t" + thechar.Utfvalu e);
Console.WriteLi ne(_rowCount + "\t" + thechar.Name);
Console.WriteLi ne(_rowCount + "\t" + thechar.Htmlcha r);
Console.WriteLi ne(_rowCount + "\t" + thechar.Htmlenc od);
instead of writing this to the console i want to write this to a csv file in the form
thechar.Unicode Number, thechar.Utfvalu e, thechar.Name, thechar.Htmlcha r, thechar.Htmlenc ode [newline]
it wont have any headers but just sinple rows of data in the csv
can anyone help me with this please
daisy
1. first part of the set
1. second part of set 1
etc
using the console.writeli ne
i.e
Console.WriteLi ne(_rowCount + "\t" + thechar.Unicode Number);
Console.WriteLi ne(_rowCount + "\t" + thechar.Utfvalu e);
Console.WriteLi ne(_rowCount + "\t" + thechar.Name);
Console.WriteLi ne(_rowCount + "\t" + thechar.Htmlcha r);
Console.WriteLi ne(_rowCount + "\t" + thechar.Htmlenc od);
instead of writing this to the console i want to write this to a csv file in the form
thechar.Unicode Number, thechar.Utfvalu e, thechar.Name, thechar.Htmlcha r, thechar.Htmlenc ode [newline]
it wont have any headers but just sinple rows of data in the csv
can anyone help me with this please
daisy
Comment