keep last few characters in listbox VB.NET
问题 I am trying to load a .txt file into a richtextbox (Point_BOX), then delete all but the last 5 characters into a listbox (Point_LIST). I've searched online and so far the only way I can get it to work is by removing the first 75 characters from the line (the lines in the .txt file should be 80 characters but sometimes is more/less). Point_BOX.Clear() Point_LIST.Items.Clear() OpenPointDialog.ShowDialog() FileName = OpenPointDialog.FileName Dim sr As IO.StreamReader = IO.File.OpenText(FileName)