From bc3e1ad05b7eb3b2cffbe92ed91aa480b7591d20 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 28 Jun 2004 01:41:45 +0000 Subject: Now works from a query --- Util.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Util.cs') diff --git a/Util.cs b/Util.cs index 32acb51..25ba921 100644 --- a/Util.cs +++ b/Util.cs @@ -17,6 +17,8 @@ // using System; using System.Windows.Forms; +using System.Collections; +using System.Collections.Specialized; namespace TLReader { @@ -54,5 +56,13 @@ namespace TLReader return s; } + + public static StringCollection Split(string s) + { + StringCollection sc=new StringCollection(); + sc.AddRange(s.Split(new char[] {','})); + + return sc; + } } } -- cgit v1.2.3