I copy this from somewhere but this is used in VB, so I decided to move it into .NET, hopping there won't be errors but...
So anyone can show me the light?

VB Code:
  1. Dim str As String
  2.         Dim WordPos As Long
  3.         Dim MyTextLeft As String
  4.         Dim MyTextRight As String
  5.         WordPos = InStr(TextBox1.Text, "06:00 AM")
  6.         MyTextLeft = [color=red]Left[/color](TextBox1.Text, WordPos - 1)
  7.         MyTextRight = Mid(TextBox1.Text, WordPos + Len("07:00 AM"), Len(TextBox1.Text) - WordPos + Len("07:00 AM"))
  8.         TextBox2.Text = MyTextLeft & MyTextRight

Basically the commands is to take the words before "06:00 AM" and words after "07:00 AM" and put them together in TextBox2..