vb.net Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim p() As String = New String() _
{"<>Home<>", "<>U.S.<>", "<>World<>", "<>Politics<>", "<>Business<>", "<>Health<>", _
"<>SciTech<>", "<>Entertainment<>", _
"<>Virgin Galactic is offering tickets aboard SpaceShipTwo spaceliners for an initial price of about $200,000, though Branson said the cost is expected to drop after the first five years of operations.<>", _
"<>The space tourism firm plans to eventual launch flights out of a terminal at New Mexico's Spaceport America, with additional trips through the aurora borealis to be staged from Kiruna, Sweden.<>"}
For i As Int32 = 0 To p.Length - 1
If p(i).Length < 34 Then p(i) = "<><>"
textbox1.AppendText(p(i) & vbNewLine)
Next
End Sub
Also, vbasicgirl's question is legitimate; is part of your problem how to get scan through a mass of text, or (as I have assumed) are the strings already in an array?