protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
string s = "ddddddd";
s.Replace("d","c");
Response.Write(s);
string Type="1,2,3";
string[] myarray=Type.Split(new char[]{','});
string d = "abcertabcrtgabcder";
char[] abc = "abc".ToCharArray();
string []k=d.Split(abc);
foreach (string j in k)
{
Response.Write(j + "</br>");
}
string delimStr = "abc";
char[] delimiter = delimStr.ToCharArray();
//string words = "one two,three:four.";
string[] splits = null;
for (int x = 1; x <= 5; x++)
{
splits = d.Split(delimiter, x);
//Response.Write("\ncount = {0,2} .............."+ x);
foreach (string s1 in splits)
{
Response.Write( s1+"</br>");
}
}