Single spaces, using () : Regular Expression : Development Class C# Source Code


Custom Search

C# Source Code » Development Class » Regular Expression »

 

Single spaces, using ()








    
 

using System;
using System.Text.RegularExpressions;


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

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Development Class
» Regular Expression