تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] استفسار :- بخصوص الاختصارات
#9
(10-08-18, 08:20 PM)dubai.eig كتب : في حالت وجود اكثر من اختصار في جمله واحده

انا جربت كذا 
كود :
TextBox2.Text = TextBox2.Text.Replace("!", "#", "$", "@", TextBox3.Text)


بس ما نفع

افدني بارك الله فيك
Rolleyes 

كود :
TextBox2.Text = TextBox2.Text.
   Replace("!", TextBox3.Text).
   Replace("#", TextBox4.Text).
   Replace("$", TextBox5.Text).
   Replace("@", TextBox6.Text)

أو
كود :
TextBox2.Text = TextBox2.Text.Replace("!", TextBox3.Text)
TextBox2.Text = TextBox2.Text.Replace("#", TextBox4.Text)
TextBox2.Text = TextBox2.Text.Replace("$", TextBox5.Text)
TextBox2.Text = TextBox2.Text.Replace("#", TextBox6.Text)
الرد }}}
تم الشكر بواسطة: dubai.eig


الردود في هذا الموضوع
RE: استفسار :- بخصوص الاختصارات - بواسطة Null - 10-08-18, 08:51 PM


التنقل السريع :


يقوم بقرائة الموضوع: