استفاده از تابع Split
string aryStrings;
str1 = “Hello,How;Are,You”;
aryStrings = str1.Split(‘,’, ‘;’, ‘*’);
foreach (string str in aryStrings)
MessageBox.Show(“{0}”, str);
Tel:
021-22251000
ISO 27001
|
استفاده از تابع Split
string aryStrings;
str1 = “Hello,How;Are,You”;
aryStrings = str1.Split(‘,’, ‘;’, ‘*’);
foreach (string str in aryStrings)
MessageBox.Show(“{0}”, str);