i have a string of
10/19/2004 12:08:03 AM - ( 757) 9fe2 LOGIN "email@example.com" "XXXX"
id like to parse it so i get the values of
check for LOGIN in multible lines of a text file
when line is found return values of
Login_Date = "10/19/2004"
Login_Time = "12:08:03 AM "
Login_Email = "firstname.lastname@example.org"
Login_PW = "XXXX"
i also have a line before all this that is
10/19/2004 12:08:02 AM - Requested IMAP connection from 126.96.36.199 [188.8.131.52], ID=757
id like the
Login_Protocal = "IMAP"
Login_IP = "184.108.40.206 "
Login_ID = "757"
one thing that i think may help is the id is in both lines so it can be assoicated with it maybe..
i do not understand how to parse this for the info to be in strings..
my other problem is there is alot of them with diffrent users.
id like it to break down the logons by time user loged on with what ip..sorted by users email
i assume i need to do arrays but i ahve never done this before so i have no clue how to do this
i could of done this with the mid fuction that vb6 has (was unsure if vb.net has it or not) but i figured vb.net has a better way..maybe faster too
please post code examples