vb.net remove last comma from string code example Example: vb.net remove last comma from string temp = temp.Trim().Substring(0, temp.Length - 1)