Hi All,
I am reading from a file, where I need to move certain pieces of information into variables which I will move later to db.
Here is an example of the file...
-------->> General Statistics <<--------
, Report Range: 09/02/2008 00:00:00 - 09/02/2008 23:59:59,
, Generated On Wednesday September 03 2008 - 05:25:18,
, ,
Hits, Entire Site (Successful), 11037849
, Average Per Day, 11037849
, Home Page, 7653
Page Views, Page Views (Impressions), 420744
, Average Per Day, 420744
, Document Views, 104133
Visits, Visits, 37502
, Average Per Day, 37502
, Average Visit Length, 00:10:44
, Median Visit Length, 00:04:21
, International Visits, 0%
, Visits of Unknown Origin, 100%
, Visits from United States, 0%
Visitors, Unique Visitors, 26750
, Visitors Who Visited Once, 22186
, Visitors Who Visited More Than Once, 4564
I am using StreamReader to read from the file and getting stuff line by line. My question is what string functions would I use to extract the items in bold?
I am reading from a file, where I need to move certain pieces of information into variables which I will move later to db.
Here is an example of the file...
-------->> General Statistics <<--------
, Report Range: 09/02/2008 00:00:00 - 09/02/2008 23:59:59,
, Generated On Wednesday September 03 2008 - 05:25:18,
, ,
Hits, Entire Site (Successful), 11037849
, Average Per Day, 11037849
, Home Page, 7653
Page Views, Page Views (Impressions), 420744
, Average Per Day, 420744
, Document Views, 104133
Visits, Visits, 37502
, Average Per Day, 37502
, Average Visit Length, 00:10:44
, Median Visit Length, 00:04:21
, International Visits, 0%
, Visits of Unknown Origin, 100%
, Visits from United States, 0%
Visitors, Unique Visitors, 26750
, Visitors Who Visited Once, 22186
, Visitors Who Visited More Than Once, 4564
I am using StreamReader to read from the file and getting stuff line by line. My question is what string functions would I use to extract the items in bold?