Thread
:
Getting File Name
View Single Post
#
3
(
permalink
)
05-06-2007, 10:25 AM
Jordan
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,520
Last Blog:
Ext JS or Ext GWT
Rep Power:
20
You will need to use the Path namespace:
Code:
Path.GetFileName(filePathVariable);
This will return "test.txt" as you mentioned above.
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware Site
|
Linux Forum
|
Write a Blog
The
CodeCall Wiki
is now fully integrated with vBulletin users! Check it out and add some new pages!
Jordan
View Public Profile
Send a private message to Jordan
Find all posts by Jordan