Split spaces with space : String Split : Data Types C# Source Code


Custom Search

C# Source Code » Data Types » String Split »

 

Split spaces with space








    
 

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);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Data Types
» String Split