Return to Snippet

Revision: 35531
at November 10, 2010 02:34 by gyurisc


Initial Code
public static class StringExtensions
{
    public static string[] Split(this String str, System.Text.RegularExpressions.Regex separator)
    {
        return separator.Split(str);
    }
}

Initial URL

                                

Initial Description
This is an extension method for splitting strings with a regular expression.

Initial Title
Split with regular expression, string extension method

Initial Tags
Net, c#

Initial Language
C#