hey all

i have a string that contains the directory to a file, for example:

Code:
C:\TEST\sample.txt
i was wondering if anyone knew a function that returned the file name only like this:

Code:
sample.txt
ive been looking for awhile now and can't find anything like that.

anyone know what it is?
thanks in advanced.