20-03-17, 09:28 AM
مطلوب مني تنفيذ مشروع يعمل علي تقسيم الموضوع الي جمل
توصلت الي هذا الكود
توصلت الي هذا الكود
Dim
Dim sentence As String
Dim text As String = TextBox1.Text
(".", "?", "!", ":", ";")Dim sentences() As String = text.Split
For Each sentence In sentences
(ListBox1.Items.Add(sentence
Next
End sub
Dim sentence As String
Dim text As String = TextBox1.Text
(".", "?", "!", ":", ";")Dim sentences() As String = text.Split
For Each sentence In sentences
(ListBox1.Items.Add(sentence
Next
End sub
المشكلة عندما يكون هناك جملة مثل U.S.A يقوم البرنامج بتقسيم الكلمة الي U في سطر S في سطر و A في سطر