/ Published in: C#
This is an extension method for splitting strings with a regular expression.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static class StringExtensions { public static string[] Split(this String str, System.Text.RegularExpressions.Regex separator) { return separator.Split(str); } }