Remove a character from the end of a string… Published by xavier on July 26, 2012 The following removes all commas from the end of a string. while (str.ToString().EndsWith(",")) { str = str.Remove(str.Length - 1, 1); } Published in.NetCoding
Be First to Comment