I am attempting in C# to remove part of a name from a string.
Using the method Bellow i am able to get all of the data from a predefined directory and place it into a Checked List Box for the user to select. My problem is that each line looks like this
i am trying to get it to appear in the box as just
remove all of the directory information from the string.
sPatientNames = System.IO.Directory.GetDirectories(dPatientData.Path);