vb.net remove last comma from string

Code Example - vb.net remove last comma from string

                
                        temp = temp.Trim().Substring(0, temp.Length - 1)