CSharp examples for System:String Split
Split Into Lines
using System;/*ww w. j a va 2 s .c o m*/ public class Main{ public static string[] SplitIntoLines(this string value, StringSplitOptions stringSplitOptions = StringSplitOptions.None) { return value.Split(new[] { "\r\n", "\r", "\n" }, stringSplitOptions); } }