I'm using getfiles() to help me grab all the files of a type from a directory. I have a combobox
that lets a user pick the first two letter of the file name. The problem I'm having is that some
files have upper case for first two chars some have lower case or a combination of both. So I was
wondering if somebody could point me in the direction on where I can find out how to make the first
2 chars upper.
Here is the code I'm using in the getfiles()
fileNames = Directory.GetFiles(dirLocation, product.SelectedItem + ".rlt");
Thanks for your time in helping me
Stpehen

New Topic/Question
Reply



MultiQuote








|