OK. Don't shoot me- this is quite the newbie programming question....

In VB (I'm using VB .Net) how do I return only part of a string?

For instance, if provided with the string "C:\thisisafile.txt " I want to return just the "C". But, I need it to return whatever is left of the colon regardless of the number of characters. So, if it was "Tony's Drive:\thisisafile.txt" I would want it to return "Tony's Drive".

Should be simple for you gurus- any takers on answering?

Thanks