string str = "1,12,10,400,11,345,66"; str.Replace(",", "");
declare @s VARCHAR(10) SET @s = '1,2,3' SELECT REPLACE(@s,',','')
Ajayajaypatelfromsanthal.blogspot.in
public string RemoveComma(string t) { string newt = string.Empty; for (int i = 0; i < t.Length; i++) { if (t[i] != ',') { newt = newt + t[i]; } } return newt; }
Thanks n Regards Bhupendra Tiwari
Thanks and Regards, Vinay Gandhi www.quadtechindia.com
Login to post response