string str = "HTML,Asp/Aspx,MySQL/Cgi/Java/Php,";
str = str.Remove(str.LastIndexOf(","),1);
Response.Write(str);
str = str.Remove(str.LastIndexOf(","),1);
Response.Write(str);
string a = "1,3,5,";
Response.Write(a.TrimEnd(','));
Response.Write(a.TrimEnd(','));