Split Comma - CSharp System

CSharp examples for System:String Split

Description

Split Comma

Demo Code


using System.Text;
using System.Linq;
using System;//  w  w  w.j  a  v a2 s .c  om

public class Main{
        public static string[] SplitComma(this string src)
        {
            return src.Split(new char[] {','}, StringSplitOptions.RemoveEmptyEntries);
        }
}

Related Tutorials