04-03-13, 06:59 PM
[COLOR="#A52A2A"]السلام عليكم
ان شاءالله هذا هو المطلوب
[/COLOR]
ان شاءالله هذا هو المطلوب
PHP كود :
Dim i As Integer
For Each item As String In TextBox2.Text.Split(" ")
For i = 0 To ListBox1.Items.Count - 1
If item = ListBox1.Items(i).ToString() Then
TextBox2.Text = TextBox2.Text.Replace(item, ListBox2.Items(i).ToString())
End If
Next
Next
