04-01-20, 02:13 AM
(04-01-20, 02:06 AM)جميل كتب : لا أدري من ناحية الذاكرة،شكرا لك اخ جميل ولكن انا المشكله عندي هي اللي انا مصورها في اول الموضوع وليس في العناصر المكرره
لكن إذا أردت العناصر غير مكرره فهذا التعديل يحل التكرار
PHP كود :
Dim member_id = System.Text.RegularExpressions.Regex.Matches(TextBox1.Text, "member_id=(.+)&")
For Each txt As System.Text.RegularExpressions.Match In member_id
If ListBox1.FindStringExact(txt.Groups(1).Value) = -1 Then
ListBox1.Items.Add(txt.Groups(1).Value)
End If
Next
Label1.Text = ListBox1.Items.Count

