summaryrefslogtreecommitdiff
path: root/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Util.cs')
-rw-r--r--Util.cs10
1 files changed, 10 insertions, 0 deletions
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;
+ }
}
}