Split Dot to String array - CSharp System

CSharp examples for System:String Split

Description

Split Dot to String array

Demo Code


using System.Text;
using System.Linq;
using System;// www  .jav  a 2 s  . com

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

Related Tutorials