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