using System;
using System.Text;
class SplitStringApp {
static void Main(string[] args) {
string u = "A B A C E F";
char[] sep3 = new char[] { ' ' };
foreach (string ss in u.Split(sep3))
Console.WriteLine(ss);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok