Hey,

When it comes to files and file paths, there are a number of methods available that replace the way things used to be done, i.e. with substring. GetFileName is just one of them.

You can see them all here:

http://msdn.microsoft.com/en-gb/libr...h_members.aspx

Hope that helps!!

Gary