diff options
Diffstat (limited to 'Util.cs')
-rw-r--r-- | Util.cs | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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;
+ }
}
}
|