VB.NET Save/Load/Filter text
Posted on 2010-01-11
Hi, I have filter which filters textbox1.text and shows filtered text.
I need: To filter already filtered text and do some action, read above:
Example of already filtered text in the textbox:
[09:04:30] [System Message] <Player1>[Ping:31] has joined your game!.
[09:04:46] [System Message] <Player1> has left your game!(4).
[09:04:55] [System Message] <Player2>[Ping:42] has joined your game!.
[09:04:59] [System Message] <Player2> has left your game!(4).
and so on...
What i need from that text is..
When player joins, i need to record his name and number like
Imbaplayer has joined - Number 1
Imbaplayer2 has joined - Number 2
Imbaplayer 3 has joined - number 3
But if some of them leaves like
Imbaplayer2 has left, then imbaplayer 3 is becoming player 2 not 3... how can i do that with datagridview or something...