How to Add and Remove in a character for Group String.

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 878
hi

I have post the code

How to Add and Remove in a character for Group String.

string str = "123";
string Newstr = "$";
string TotStr = "";
for (int i = 0; i <= str.Length-1; i++)
{
TotStr = TotStr + str[i] + Newstr[0];
}

TotStr.Replace("$", string.Empty);

Comments or Responses

Login to post response