Multiple spaces, using \" \" : Regular Expression : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Regular Expression »

 

Multiple spaces, using \" \"








    
 

using System;
using System.Text.RegularExpressions;


public class MainClass {
    public static void Main() {
        string u = "Once   Upon A Time In   America";
        Regex p = new Regex(" ");
        foreach (string ss in p.Split(u)) {
            Console.WriteLine(ss);
        }
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Regular Expression