Friday, September 10, 2010

How To Replace String?

Use string To replace :</b>

private void button1_Click(object sender, EventArgs e)
{
     string oldstr = "Hu MAJAMA Chu?";
     string newstr=oldstr.Replace("chu","Tu");
     MessageBox.Show(newstr);
}

<b>